Where your PHP code exits?

<?php
declare(ticks = 1);
function shutdown_find_exit()
{
var_dump($GLOBALS['dbg_stack']);
}
register_shutdown_function('shutdown_find_exit');
function write_dbg_stack()
{
$GLOBALS['dbg_stack'] = debug_backtrace();
}
register_tick_function('write_dbg_stack');
echo 'Hello world';
view raw exit.php hosted with ❤ by GitHub