Bug #54744 [Bgs]: ob_gzhandler does not work

From: Date: Mon, 13 Jun 2011 10:44:37 +0000
Subject: Bug #54744 [Bgs]: ob_gzhandler does not work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-161364@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=54744&edit=1

 ID:                 54744
 User updated by:    bugzilla33 at gmail dot com
 Reported by:        bugzilla33 at gmail dot com
 Summary:            ob_gzhandler does not work
 Status:             Bogus
 Type:               Bug
 Package:            Output Control
 Operating System:   win32
 PHP Version:        trunk-SVN-2011-05-16 (snap)
 Block user comment: N
 Private report:     N

 New Comment:

Felipe, please write about replacement of ob_gzhandler in PHP 5.4+.


Previous Comments:
------------------------------------------------------------------------
[2011-06-12 02:37:07] felipe@php.net

ob_gzhandler() is not a PHP function anymore (5.4+). So the execution is being aborted by the fatal
error.

------------------------------------------------------------------------
[2011-05-16 10:26:17] 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


------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=54744&edit=1


Thread (3 messages)

« previous php.bugs (#161364) next »