3v4l.org

run code in 300+ PHP versions simultaneously
<?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.

preferences:
183.53 ms | 1395 KiB | 56 Q