3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if(version_compare(PHP_VERSION, '5.2.9') < 0) __halt_compiler(); echo "Reached";
Output for 5.4.0 - 5.4.14
Parse error: syntax error, unexpected '__halt_compiler' (T_HALT_COMPILER) in /in/Qf8t7 on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.24
Parse error: syntax error, unexpected T_HALT_COMPILER in /in/Qf8t7 on line 2
Process exited with code 255.