Re: Merge PR 621

From: Date: Tue, 25 Mar 2014 00:24:40 +0000
Subject: Re: Merge PR 621
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-73397@lists.php.net to get a copy of this message
Hi Stas, On Fri, Mar 21, 2014 at 10:48 AM, Tjerk Meesters <tjerk.meesters@gmail.com>wrote: > Hi Stas, > > On Fri, Mar 21, 2014 at 9:11 AM, Stas Malyshev <smalyshev@sugarcrm.com>wrote: > >> Hi! >> >> > It seems that PR 614 covers exactly that; it uses the check_empty flag >> > within spl_array_has_dimension_ex() to make sure offsetGet() is called >> > when needed. >> >> I understand that the problem may be that check_empty is not sent on >> isset? Didn't verify that though. >> > > It does, as can be seen here: > > http://lxr.php.net/xref/PHP_5_6/Zend/zend_vm_def.h#4737 > > The check_empty argument value is ternary, meaning it can be 0 (isset), 1 > (empty) or 2 (key exists). > > Having looked it over I realized that my older patch had some issues; I've > addressed those and reopened #614. > Do you have any issues with the code as it stands now? https://github.com/php/php-src/pull/614 It's currently targeted at 5.4; if there are any objections to that I'll move the changes to 5.6 instead. > > I've closed #621. > > >> -- >> Stanislav Malyshev, Software Architect >> SugarCRM: http://www.sugarcrm.com/ >> (408)454-6900 ext. 227 >> > > > > -- > -- > Tjerk > -- -- Tjerk

« previous php.internals (#73397) next »