Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47829 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76850 invoked from network); 7 Apr 2010 19:56:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Apr 2010 19:56:41 -0000 X-Host-Fingerprint: 92.248.115.51 mk092248115051.a1.net Received: from [92.248.115.51] ([92.248.115.51:6126] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2A/BF-20534-873ECBB4 for ; Wed, 07 Apr 2010 15:56:40 -0400 Message-ID: <2A.BF.20534.873ECBB4@pb1.pair.com> To: internals@lists.php.net Date: Wed, 07 Apr 2010 21:56:35 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 References: <3EC72D91-EA33-4175-B9F5-E1A61757916B@pooteeweet.org> <7f3ed2c31003241310nad662e1uad7d5bbe8f985e5@mail.gmail.com> <7f3ed2c31003241326s298cf2a4r19ec7746c4645cc8@mail.gmail.com> <6478E1F4-8DFD-4D7E-A83C-8014A1411D26@pooteeweet.org> <4BBC2D1B.2090906@php.net> <7.0.1.0.2.20100407173535.13fee1c8@zend.com> In-Reply-To: <7.0.1.0.2.20100407173535.13fee1c8@zend.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 92.248.115.51 Subject: Re: [PHP-DEV] Output buffering patch From: mike@php.net (Michael Wallner) Am 07.04.2010 16:37, schrieb Zeev Suraski: > At 09:58 07/04/2010, Michael Wallner wrote: >> Here you go: >> >> http://wiki.php.net/rfc/new-output-api > > Thanks Mike - that's very helpful! > > Quick question - other than fixing the issues mentioned in the intro > section of the RFC, are there any changes to the behavior of > userland-accessible functions (ob_start(), etc.)? It actually fixes quite some more oddities, but I really can't remember what... I'm also having quite a hard time remembering userland changes, but some off the top of my head: ob_start(array("oh1","oh2","oh3")) does not work, as the handler argument is always supposed to be callable. This was undeocumented anyway. ob_get_status() arrays have more/other entries. ob_start("obh", 1) was supposed to really buffer just one byte, but AFAIR this was changed back by someone to default to 4096... ob_gzhandler() and thelike are no PHP_FUNCTIONs anymore. Regards, Mike