3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php try { throw new Exception('Exception') } catch(Exception $e) { var_dump($e->getCode()); }
Output for 5.3.0 - 5.5.0
Parse error: syntax error, unexpected '}' in /in/rDN5M on line 6
Process exited with code 255.