<?php function foo( $arg ) { echo "exception callback" . PHP_EOL; } set_exception_handler( 'foo' ); function bar( $arg ) { throw new Exception( 'fail here' ); } ob_start( 'bar' ); echo "start" . PHP_EOL; ob_flush(); echo "continue" . PHP_EOL; ob_flush(); echo "done";
You have javascript disabled. You will not be able to edit any code.