3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class a { function __construct() { __debugInfo(); } } new a;
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function __debugInfo() in /in/cfvgc:7 Stack trace: #0 /in/cfvgc(11): a->__construct() #1 {main} thrown in /in/cfvgc on line 7
Process exited with code 255.
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.12.0
Fatal error: Call to undefined function __debugInfo() in /in/cfvgc on line 7
Process exited with code 255.
Output for 4.3.0 - 4.4.9