#23279 [NEW]: output buffering failure with set_exception_handler
| From: | george at omniti dot com | Date: | Sat, 19 Apr 2003 16:11:33 +0000 |
| Subject: | #23279 [NEW]: output buffering failure with set_exception_handler | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-37904@lists.php.net to get a copy of this message | ||
From: george at omniti dot com
Operating system: linux
PHP version: 5CVS-2003-04-19 (dev)
PHP Bug Type: Zend Engine 2 problem
Bug description: output buffering failure with set_exception_handler
<?php
ob_start();
set_exception_handler('redirect_on_error');
echo "Hello World\n";
throw new Exception;
function redirect_on_error($e) {
ob_end_clean();
echo "Goodbye Cruel World\n";
}
?>
generates empty output with no warnings.
--
Edit bug report at http://bugs.php.net/?id=23279&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23279&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23279&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23279&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23279&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23279&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23279&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23279&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23279&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23279&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23279&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23279&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23279&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23279&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23279&r=gnused