12345678910111213141516171819202122232425262728293031323334353637383940 |
- --TEST--
- Bug
- --FILE--
- <?php
- ob_end_flush();
- class ExceptionHandler {
- public function __invoke (Exception $e)
- {
-
- ob_end_clean();
- }
- }
- set_exception_handler(new ExceptionHandler());
- set_error_handler(function()
- {
- $e = new Exception;
- $e->_trace = debug_backtrace();
- throw $e;
- });
- $a['waa'];
- ?>
- --EXPECTF--
- Notice: ob_end_flush(): Failed to delete and flush buffer. No buffer to delete or flush in %sbug64960.php on line 3
- Fatal error: Uncaught Exception in %sbug64960.php:19
- Stack trace:
- thrown in %sbug64960.php on line 19
|