#37714 [NEW]: display_errors on and ob_gzhandler causes error
| From: | david at holyfieldstudios dot com | Date: | Tue, 06 Jun 2006 11:41:31 +0000 |
| Subject: | #37714 [NEW]: display_errors on and ob_gzhandler causes error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-98088@lists.php.net to get a copy of this message | ||
From: david at holyfieldstudios dot com
Operating system: Linux
PHP version: 5.1.4
PHP Bug Type: Unknown/Other Function
Bug description: display_errors on and ob_gzhandler causes error
Description:
------------
Server API: CGI
System: Linux
If PHP ini flag display_errors = On and zlib.output_compression = 1
and i use ob_start( 'ob_gzhandler' )
then error reporting does not work any more. If error occures no any
output produced. Page is totally blank.
Reproduce code:
---------------
ini_set('display_errors', 1);
ini_get('zlib.output_compression', 1);
ini_get('session.use_trans_sid', 1);
ob_start( 'ob_gzhandler' );
... // just for causing error
Expected result:
----------------
Parse error: parse error, unexpected '.' in
Actual result:
--------------
Blank page
--
Edit bug report at http://bugs.php.net/?id=37714&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37714&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37714&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37714&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37714&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37714&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37714&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37714&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37714&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37714&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37714&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37714&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37714&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37714&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37714&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37714&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37714&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37714&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37714&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37714&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37714&r=mysqlcfg