3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function () { echo "lolwut\n"; } (); $a = "\x7f"; ${'a'}(); ?>
based on oXdqG
Output for 7.1.0 - 7.2.6
Warning: Unexpected character in input: '' (ASCII=127) state=0 in /in/2gL1v on line 2 Warning: Unexpected character in input: '' (ASCII=127) state=0 in /in/2gL1v on line 7 Parse error: syntax error, unexpected '(' in /in/2gL1v on line 7
Process exited with code 255.
Output for 5.3.20 - 7.0.20
lolwut lolwut