3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function a(){b();}; function b(){c();}; function c(){var_dump(debug_backtrace());}; a();
Output for 4.3.0 - 7.1.0
array(3) { [0]=> array(4) { ["file"]=> string(9) "/in/BRYdE" ["line"]=> int(3) ["function"]=> string(1) "c" ["args"]=> array(0) { } } [1]=> array(4) { ["file"]=> string(9) "/in/BRYdE" ["line"]=> int(2) ["function"]=> string(1) "b" ["args"]=> array(0) { } } [2]=> array(4) { ["file"]=> string(9) "/in/BRYdE" ["line"]=> int(7) ["function"]=> string(1) "a" ["args"]=> array(0) { } } }