Re: Merge PR 621

From: Date: Fri, 21 Mar 2014 02:48:48 +0000
Subject: Re: Merge PR 621
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-73352@lists.php.net to get a copy of this message
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. I've closed #621. > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 > -- -- Tjerk

« previous php.internals (#73352) next »