php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #54744 ob_gzhandler does not work
Submitted: 2011-05-16 10:26 UTC Modified: 2011-06-13 12:44 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: bugzilla33 at gmail dot com Assigned:
Status: Not a bug Package: Output Control
PHP Version: trunk-SVN-2011-05-16 (snap) OS: win32
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bugzilla33 at gmail dot com
New email:
PHP Version: OS:

 

 [2011-05-16 10:26 UTC] bugzilla33 at gmail dot com
Description:
------------
ob_gzhandler does not work

Test script:
---------------
<?php

 function test($buffer,$mode){
  return(ob_gzhandler($buffer,$mode));
 }

 ob_start('test');

 print('ok');
?>

Expected result:
----------------
prints 'ok' like PHP 5.3.6

Actual result:
--------------
PHP 5.3.99 prints empty buffer

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-06-12 02:37 UTC] felipe@php.net
-Status: Open +Status: Bogus
 [2011-06-12 02:37 UTC] felipe@php.net
ob_gzhandler() is not a PHP function anymore (5.4+). So the execution is being aborted by the fatal error.
 [2011-06-13 12:44 UTC] bugzilla33 at gmail dot com
Felipe, please write about replacement of ob_gzhandler in PHP 5.4+.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 09 10:01:27 2024 UTC