- var_dump: documentation ( source)
- debug_backtrace: documentation ( source)
- register_tick_function: documentation ( source)
<?php
declare(ticks=1);
register_tick_function(function() {
var_dump(debug_backtrace());
});
function foo() {
exit;
}
foo();