3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function test () { print_r(debug_backtrace(0)); } test();
Output for 5.2.5 - 7.2.0
Array ( [0] => Array ( [file] => /in/c6fCP [line] => 7 [function] => test [args] => Array ( ) ) )
Output for 4.3.0 - 5.2.4
Warning: Wrong parameter count for debug_backtrace() in /in/c6fCP on line 4