3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if (version_compare(phpversion(), '5.0.0', '>=') { echo '5'; } else{ echo 'no 5'; }
Output for 5.3.0 - 5.4.19
Parse error: syntax error, unexpected '{' in /in/6UAKM on line 3
Process exited with code 255.