3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = '<?php print ("test"); ?>ing'; eval($string);
based on 86DYq
Output for 7.0.0 - 7.3.0rc3
Parse error: syntax error, unexpected '<', expecting end of file in /in/0U4vv(4) : eval()'d code on line 1
Process exited with code 255.
Output for hhvm-3.15.4
Fatal error: syntax error, unexpected '<', expecting $end in /in/0U4vv(4)(9234f1164b8f8c441f721edbef29a967) : eval()'d code on line 1
Output for 5.6.0 - 5.6.30
Parse error: syntax error, unexpected '<' in /in/0U4vv(4) : eval()'d code on line 1