4 ms·
The problem with designing a language that does these sorts of implicit type conversions is that the "equality" operator violates the fundamental properties of
by kyllo 11y ago
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.
- spdionis 11y agoAFAIK == is always symmetric.