|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37714 output handler errors disapper when output buffering is enabled
Submitted: 2006-06-06 11:41 UTC Modified: 2006-06-07 13:26 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: david at holyfieldstudios dot com Assigned: mike (profile)
Status: Wont fix Package: Output Control
PHP Version: 5.1.4 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: david at holyfieldstudios dot com
New email:
PHP Version: OS:


 [2006-06-06 11:41 UTC] david at holyfieldstudios dot com
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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-06 12:24 UTC]
Fixed in HEAD
Fixable in 5_2 if MFH new output control code
Not fixable in 5.1
 [2006-06-07 13:26 UTC]
In PHP 5.2 anyhow.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Dec 02 16:01:27 2023 UTC