3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function test () { print_r(debug_backtrace(0)); } test();
Output for 5.2.5 - 5.6.21, hhvm-3.12.0, 7.0.0 - 7.1.0
Array ( [0] => Array ( [file] => /in/c6fCP [line] => 7 [function] => test [args] => Array ( ) ) )
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.2.4
Warning: Wrong parameter count for debug_backtrace() in /in/c6fCP on line 4