3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php //No error/warning, jay! spl_autoload_register(function ($class) { class Foo{}; var_dump(debug_backtrace([DEBUG_BACKTRACE_IGNORE_ARGS], 2)); }, true, true); $bar = new Foo();
based on ZSEsS
Output for 7.0.0 - 7.2.0
Warning: debug_backtrace() expects parameter 1 to be integer, array given in /in/Og2uR on line 6 NULL
Output for 5.4.2 - 5.6.28
Warning: debug_backtrace() expects parameter 1 to be long, array given in /in/Og2uR on line 6 NULL
Output for 5.3.18 - 5.3.29
Parse error: syntax error, unexpected '[', expecting ')' in /in/Og2uR on line 6
Process exited with code 255.