3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function throwsException() { throw new Exception(); return; } try { $i = 123; throwsException(); $i = 234; } catch { echo $i; }
Output for 5.3.0 - 5.4.6
Parse error: syntax error, unexpected '{', expecting '(' in /in/jv1Oj on line 11
Process exited with code 255.