3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo array() == false ? 1 : 0; echo array() == 0 ? 1 : 0; echo false == 0 ? 1 : 0
Output for 5.4.0 - 5.4.6
Parse error: syntax error, unexpected end of file, expecting ',' or ';' in /in/NuXIW on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.16
Parse error: syntax error, unexpected $end, expecting ',' or ';' in /in/NuXIW on line 4
Process exited with code 255.