- ob_start: documentation ( source)
- debug_backtrace: documentation ( source)
- ob_end_flush: documentation ( source)
- print_r: documentation ( source)
- ob_get_flush: documentation ( source)
<?php
function foo()
{
$GLOBALS['stack'] = debug_backtrace();
}
ob_start('foo');
ob_get_flush();
ob_end_flush();
echo 1;
print_r($stack);