Re: 5.4 regression: non-existent sub-sub keys now have values
| From: | David Muir | Date: | Thu, 24 Nov 2011 01:20:20 +0000 |
| Subject: | Re: 5.4 regression: non-existent sub-sub keys now have values | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56547@lists.php.net to get a copy of this message | ||
On 24/11/11 11:42, Stas Malyshev wrote:
> Hi!
>
>> If you want this fix to be palatable, we'll need a new language
>> construct that effectively runs a series of is_array&& array_key_exists
>> with a final !== null check.
>
> I'm not sure RC time is a good place for introducing new language
> constructs. Actually, I'm pretty sure it's not.
And I believe you're missing the point. I'm not suggesting it for 5.4,
but illustrating that until something like it (or better) exists, the
"bug fix" should wait until such a solution exists.
David