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; echo array() == 0 == false == array(); echo "1" == 1 ? 1:0;
Output for 5.4.0 - 5.4.6
Parse error: syntax error, unexpected '==' (T_IS_EQUAL) in /in/eNpj0 on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.16
Parse error: syntax error, unexpected T_IS_EQUAL in /in/eNpj0 on line 5
Process exited with code 255.