Stas Malyshev wrote:
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.
But neither is introducing a potential bomb of the kind that the 'date' saga
created. The problem this change IS causing is likely to hit many live sites
without any real explanation as to why it is happening. And I still don't think
that the type of code that it is hitting is 'wrong', it IS just doing a lookup
for an array element that does not exist to decide if it needs to create it.
( Although I STILL have not tracked down where my own code is actually falling
over ... it just comes back with blank array branches ... )
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php