Re: 5.4 regression: non-existent sub-sub keys now have values
| From: | Felipe Pena | Date: | Thu, 24 Nov 2011 21:36:59 +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 13 14 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56591@lists.php.net to get a copy of this message | ||
Hi,
2011/11/24 Rasmus Lerdorf <rasmus@lerdorf.com>:
> On 11/24/2011 01:08 PM, Pierre Joye wrote:
>> hi Rasmus,
>>
>> On Thu, Nov 24, 2011 at 9:35 PM, Rasmus Lerdorf <rasmus@lerdorf.com> wrote:
>>
>>> I had a quick look through the Drupal code. I don't see a single place
>>> that this is done where a deeply nested array index is applied to a
>>> string. I think you are misunderstanding what has changed here.
>>
>> We are leading to yet another underestimated impact to userland code,
>> for zero gain.
>>
>> The risk is to high, let revert that please.
>
> For all the people saying, "Revert". You guys realize that also means we
> revert all the array dereferencing we added elsewhere, right? That
> includes function array dereferencing which pretty most everyone has
> been clamoring for for years.
>
> So just to clarify, you think we should remove function array
> dereferencing? Otherwise, please provide a proposal for how we separate
> these various derefencing mechanisms in a way that doesn't completely
> destroy the clean and consistent implementation we have right now.
>
> -Rasmus
The function array dereferencing is unrelated to these changes (it
just touched the parser), i.e. it uses the same code used to access
the array directly.
--
Regards,
Felipe Pena