3v4l.org

run code in 200+ 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 HcOFE on line 7
Process exited with code 255.