Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (17 sloc) 254 Bytes
<?php
function callback($buffer)
{
// replace all the apples with oranges
return "[$buffer]\n";
}
ob_start('callback');
function foo()
{
// empty func
echo "again\n";
}
xdebug_break();
trigger_error('test');
echo "test\n";
foo();
?>