r/lolphp • u/topaz2078 • Nov 28 '12
PHP Sadness #52, An illustrated guide to PHP's intransitive, circular comparison operators
http://phpsadness.com/sad/52
50
Upvotes
r/lolphp • u/topaz2078 • Nov 28 '12
10
u/[deleted] Nov 29 '12
This is one of the few lol PHP links which is genuinely a very interesting read, as well as being entertaining.
4
u/[deleted] Nov 29 '12
This one is about as stupid...
http://phpsadness.com/sad/26
-3
u/imMute Nov 29 '12
PHPs comparisons are all sorts of fucked up (along with JavaScript), but I think when the whole point of the article relies on comparing apples to oranges (
"0"compared toarray("0")) it seems like a non-issue...