3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function foo() { bar(); } function bar() { var_export(debug_backtrace()); } foo();
Output for 4.3.0 - 7.1.0
array ( 0 => array ( 'file' => '/in/Y6Ic4', 'line' => 6, 'function' => 'bar', 'args' => array ( ), ), 1 => array ( 'file' => '/in/Y6Ic4', 'line' => 14, 'function' => 'foo', 'args' => array ( ), ), )