3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php constant true = false; define(TRUE, FALSE); define(FALSE, TRUE); define(0, 1); if(0) echo 'no';
Output for 5.4.0 - 5.4.20
Parse error: syntax error, unexpected 'true' (T_STRING) in /in/lfNLM on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_STRING in /in/lfNLM on line 2
Process exited with code 255.