3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function () { echo "oh my..."; } echo "haha "; ();?>
based on 1esIu
Output for 7.1.0 - 7.2.0
Warning: Unexpected character in input: '' (ASCII=127) state=0 in /in/uteEo on line 3 Parse error: syntax error, unexpected 'echo' (T_ECHO) in /in/uteEo on line 4
Process exited with code 255.
Output for 5.3.17 - 7.0.20
haha oh my...