News for hackers. Stuff that matters.
Re:Divine By Zero by steve_b on Tuesday June 07, 2011 @11:48AM (#2629591)
I was confused about the "php" == 0, until I found 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?

Re:Divine By Zero by graywh on Tuesday June 07, 2011 @02:20PM (#2630280)
Those PHP "features" are the real WTF.