3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php try { eval('non;sen-se)('); } catch (\ParseError $e) { echo 'Caught: ', $e->getMessage(), "\n"; } echo 'ok';
based on svQZV
Output for 7.0.0 - 7.3.1
Caught: syntax error, unexpected ')' ok
Output for 5.5.0 - 5.6.28
Parse error: syntax error, unexpected ')' in /in/gideq(4) : eval()'d code on line 1 ok