Hi Stas,
On Fri, Mar 21, 2014 at 6:02 AM, Stas Malyshev <[email protected]>wrote:
> Hi!
>
> > The important part is that isset() triggers read_dimension and
> > eventually offsetGet() for isset(), and we seem to agree on that.
>
> Yes, agreed. Unfortunately, I'll be busy till the next week so couldn't
> propose a fix, but if nobody beats me to it I'll look at it next week.
>
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.
https://github.com/php/php-src/pull/614
Was there something I missed there? I'm happy to work on this :)
> --
> Stanislav Malyshev, Software Architect
> SugarCRM: http://www.sugarcrm.com/
> (408)454-6900 ext. 227
>
--
--
Tjerk