I used both == and ===.Have you tried restarting your computer?
The latter evaluates as true, the former returns a 1.
At this point there are pretty much only three options. Php itself is broken on your machine, some other thing on your computer is causing this, you found a glitch in the matrix.