Re: function ob_gzhandler is missed in 5.4
| From: | Michael Wallner | Date: | Mon, 14 Nov 2011 10:42:01 +0000 |
| Subject: | Re: function ob_gzhandler is missed in 5.4 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56324@lists.php.net to get a copy of this message | ||
On Sun, 13 Nov 2011 12:16:52 -0800, Stas Malyshev wrote:
> On 11/13/11 7:11 AM, Laruence wrote:
>> Hi:
>>
>> this revisioin remove the ob_* functions:
>> http://svn.php.net/viewvc?view=revision&revision=299980
>
> Indeed, I do not see ob_gzhandler in the function list, but no mention
> of that in UPGRADING or other docs. As far as I understand, it was
> converted from function to alias name, so function does not exist
> anymore. Not sure if it was really needed, as the use case for it is now
> covered by the alias.
>
> Michael, as the patch committer, could you shed more light on this?
Right, the PHP_FUNCTION ob_gzhandler has been removed and an alias
to the internal "zlib output compression" output handler has been
introduced, which is faster, can maintain a stateful context and
is cleanable as long as no output has been passed along.
What did people use ob_gzhandler for directly?
Mike