php.net |  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
Votes:1
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
Have you experienced this issue?
Rate the importance of this bug to you:

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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-06 12:24 UTC] mike@php.net
Fixed in HEAD
Fixable in 5_2 if MFH new output control code
Not fixable in 5.1
 [2006-06-07 13:26 UTC] iliaa@php.net
In PHP 5.2 anyhow.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 01:01:28 2024 UTC