Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56324 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14480 invoked from network); 14 Nov 2011 10:42:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Nov 2011 10:42:03 -0000 X-Host-Fingerprint: 78.142.172.145 gate-g21.inqnet.at Date: Mon, 14 Nov 2011 05:42:01 -0500 Received: from [78.142.172.145] ([78.142.172.145:7684] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A8/40-12248-970F0CE4 for ; Mon, 14 Nov 2011 05:42:01 -0500 Message-ID: To: internals@lists.php.net References: <4EC025B4.2070009@sugarcrm.com> User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Posted-By: 78.142.172.145 Subject: Re: [PHP-DEV] function ob_gzhandler is missed in 5.4 From: mike@php.net (Michael Wallner) 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