3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php try { echo "test"; throw new Exception(); echo "test2"; } catch (Exception $e { echo $e->getMessage(); return; }
Output for 5.3.0 - 5.4.9
Parse error: syntax error, unexpected '{', expecting ')' in /in/cOaM1 on line 7
Process exited with code 255.