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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2023 The PHP Group
All rights reserved.
Last updated: Wed Feb 01 03:04:47 2023 UTC