3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php try { throw new \Exception(); } catch (\Exception $e) { var_dump('ciao'); throw $e; } var_dump('bubu');
Output for 7.0.0 - 7.2.0
string(4) "ciao" Fatal error: Uncaught Exception in /in/tbdIq:4 Stack trace: #0 {main} thrown in /in/tbdIq on line 4
Process exited with code 255.
Output for 5.3.18 - 5.6.21
string(4) "ciao" Fatal error: Uncaught exception 'Exception' in /in/tbdIq:4 Stack trace: #0 {main} thrown in /in/tbdIq on line 4
Process exited with code 255.