3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Tantrum extends Exception {}; throw new Tantrum;
based on YRmYU
Output for 7.0.0 - 7.2.6
Fatal error: Uncaught Tantrum in /in/PbcJ2:5 Stack trace: #0 {main} thrown in /in/PbcJ2 on line 5
Process exited with code 255.
Output for 5.3.20 - 5.6.28
Fatal error: Uncaught exception 'Tantrum' in /in/PbcJ2:5 Stack trace: #0 {main} thrown in /in/PbcJ2 on line 5
Process exited with code 255.