3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function a() { b(array(1, 7, 4)); } function b($b) { c(); } function c() { print_r(debug_backtrace()); } a();
Output for 4.3.0 - 7.1.0
Array ( [0] => Array ( [file] => /in/uD3IQ [line] => 3 [function] => c [args] => Array ( ) ) [1] => Array ( [file] => /in/uD3IQ [line] => 2 [function] => b [args] => Array ( [0] => Array ( [0] => 1 [1] => 7 [2] => 4 ) ) ) [2] => Array ( [file] => /in/uD3IQ [line] => 5 [function] => a [args] => Array ( ) ) )