- ob_start: documentation ( source)
- register_shutdown_function: documentation ( source)
- set_exception_handler: documentation ( source)
<?php
function toto($b)
{
return $b;
}
function eh($e)
{
ob_start('toto');
echo '123';
}
function sh()
{
}
register_shutdown_function('sh');
set_exception_handler('eh');
throw new Exception;