3v4l.org

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