Hacker News new | past | comments | ask | show | jobs | submit login

The problem with designing a language that does these sorts of implicit type conversions is that the "equality" operator violates the fundamental properties of equality. Since grade school mathematics we are all taught that equality is symmetric and transitive, and PHP's == operator is neither.



AFAIK == is always symmetric.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: