3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php eval("phpinfo\0hi();");
based on TujUG
Output for 5.4.0 - 5.4.10, 7.0.0 - 7.1.0
Warning: Unexpected character in input: ' in /in/fFu4D(3) : eval()'d code on line 1 Parse error: syntax error, unexpected 'hi' (T_STRING) in /in/fFu4D(3) : eval()'d code on line 1
Process exited with code 255.
Output for 5.4.11 - 5.6.28
Warning: Unexpected character in input: ' in /in/fFu4D(3) : eval()'d code on line 1 Parse error: syntax error, unexpected 'hi' (T_STRING) in /in/fFu4D(3) : eval()'d code on line 1