3 ms·
I was confused about the "php" == 0, until I found http://php.net/manual/en/types.comparisons.php http://php.net/manual/en/types.comparisons.php. So "php" == 0
by steve_b 15y ago
I was confused about the "php" == 0, until I found http://php.net/manual/en/types.comparisons.php http://php.net/manual/en/types.comparisons.php. So "php" == 0 is true and "php" == true is true, but 0 == true is false. Yikes! It seems like comparisons in PHP are as bad as they are in JS.
I have a hard time believing this is real. Does WTF do any verification?
- graywh 15y agoThose PHP "features" are the real WTF.