Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40208 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80112 invoked from network); 2 Sep 2008 09:21:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Sep 2008 09:21:17 -0000 Authentication-Results: pb1.pair.com smtp.mail=jani.taskinen@sci.fi; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jani.taskinen@sci.fi; sender-id=unknown Received-SPF: error (pb1.pair.com: domain sci.fi from 63.208.196.179 cause and error) X-PHP-List-Original-Sender: jani.taskinen@sci.fi X-Host-Fingerprint: 63.208.196.179 mho-02-bos.mailhop.org Received: from [63.208.196.179] ([63.208.196.179:55691] helo=mho-02-bos.mailhop.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6B/80-10645-B850DB84 for ; Tue, 02 Sep 2008 05:21:17 -0400 Received: from a88-112-30-186.elisa-laajakaista.fi ([88.112.30.186] helo=localhost.localdomain) by mho-02-bos.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1KaS4R-0008Yj-Ck; Tue, 02 Sep 2008 09:21:07 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 88.112.30.186 X-Report-Abuse-To: abuse@dyndns.com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1964yKmoPCXG/WUPIFr2pvPRvnO7jZDO74= Message-ID: <48BD057A.9090007@sci.fi> Date: Tue, 02 Sep 2008 12:20:58 +0300 Reply-To: jani.taskinen@iki.fi User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: Dmitry Stogov CC: Arnaud Le Blanc , Lukas Kahwe Smith , Marcus Boerger , Stanislav Malyshev , PHP Internals List References: <48BCFF84.9080801@zend.com> In-Reply-To: <48BCFF84.9080801@zend.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] BUG #45392 From: jani.taskinen@sci.fi (Jani Taskinen) IIRC, there was some sort of OB rewrite done in HEAD..is this bug only present in PHP_5_3? If so, I'd say the OB rewrite should be done in PHP_5_3 already.. --Jani Dmitry Stogov wrote: > Hi, > > Attached is a proposed fix for http://bugs.php.net/bug.php?id=45392 for > PHP_5_3. I don't know output buffering part very well, and I'm not > completely sure about this fix, so please review it. > > The patch changes behavior of output buffering a bit. In case of fatal > error all output buffers opened by ob_start() with zero (or omitted) > chunk_size argument are discarded. The fix brakes two tests: > > Test session_module_name() function : variation > [ext/session/tests/session_module_name_variation3.phpt] > Test session_set_save_handler() function : error functionality > [ext/session/tests/session_set_save_handler_error3.phpt] > > We need to make a decision about #45392. > > 1) Fix it with proposed (or similar) patch > > 2) Make it bogus because any fix requires output buffering behavior change > > Thanks. Dmitry. >