Re: [PR 614] ArrayObject and isset() / empty() behaviour

From: Date: Mon, 10 Mar 2014 13:26:47 +0000
Subject: Re: [PR 614] ArrayObject and isset() / empty() behaviour
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-73050@lists.php.net to get a copy of this message
On Mon, Mar 10, 2014 at 1:43 PM, Ferenc Kovacs <tyra3l@gmail.com> wrote: > > > > On Sat, Mar 8, 2014 at 10:56 AM, Tjerk Meesters <tjerk.meesters@gmail.com>wrote: > >> On Sat, Mar 8, 2014 at 8:27 AM, Tjerk Meesters <tjerk.meesters@gmail.com >> >wrote: >> >> > Hi Etienne, >> > >> > Thanks for your input, much appreciated. >> > >> > I have moved the decision up the chain as you suggested; the results can >> > be found here: >> > >> > >> > https://github.com/datibbaw/php-src/compare/php:PHP-5.4...bug66834a >> > >> >> > >> > It's suffering from a few memory leaks which can be fixed, >> > >> >> They are fixed now and a new PR has been opened: >> >> https://github.com/php/php-src/pull/616 >> >> > Hi Etienne, > > Are you fine with the changes in the PR? > > Two things: 1) Where is this planned to be merged? Is it really 5.4 ? As is the PR is no longer a simple bug fix and while I agree it should be changed that way, it might introduce hard-to-track BC breaks. 2) Seems to me that with this PR, part of the hack present in ArrayObject in the has_dimension handler is no longer necessary, as it might be doing to value-check twice now. Best, -- > Ferenc Kovács > @Tyr43l - http://tyrael.hu > -- Etienne Kneuss http://www.colder.ch

« previous php.internals (#73050) next »