3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php eval('1+1');
Output for 5.4.0 - 5.4.10, 7.0.0 - 7.2.0
Parse error: syntax error, unexpected end of file in /in/ub8Ep(3) : eval()'d code on line 1
Process exited with code 255.
Output for hhvm-3.22.0
Fatal error: syntax error, unexpected $end in /in/ub8Ep(-1)(d96e018f51ea61e5ff2f9c349c5da67d) : eval()'d code on line -1
Output for hhvm-3.10.1 - 3.21.3
Fatal error: syntax error, unexpected $end in /in/ub8Ep(3)(d96e018f51ea61e5ff2f9c349c5da67d) : eval()'d code on line 1
Output for 5.4.11 - 5.6.30
Parse error: syntax error, unexpected end of file in /in/ub8Ep(3) : eval()'d code on line 1