3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = new Exception; var_dump($e->debug());
based on Drg0V
Output for 7.0.5 - 7.2.0
Notice: Undefined variable: e in /in/DB4bl on line 5 Fatal error: Uncaught Error: Call to a member function debug() on null in /in/DB4bl:5 Stack trace: #0 {main} thrown in /in/DB4bl on line 5
Process exited with code 255.
Output for 7.0.0 - 7.0.4
Notice: Undefined variable: e in /in/DB4bl on line 5 Fatal error: Uncaught Error: Call to a member function debug() on unknown in /in/DB4bl:5 Stack trace: #0 {main} thrown in /in/DB4bl on line 5
Process exited with code 255.
Output for 5.6.8 - 5.6.28
Notice: Undefined variable: e in /in/DB4bl on line 5 Fatal error: Call to a member function debug() on null in /in/DB4bl on line 5
Process exited with code 255.
Output for 5.3.19 - 5.5.35
Notice: Undefined variable: e in /in/DB4bl on line 5 Fatal error: Call to a member function debug() on a non-object in /in/DB4bl on line 5
Process exited with code 255.