Re: 5.4 regression: non-existent sub-sub keys now have values

From: Date: Thu, 24 Nov 2011 01:42:09 +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  Groups: php.internals 
Request: Send a blank email to internals+get-56549@lists.php.net to get a copy of this message
Hi!
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.
Again, you seem to miss the major point. The bug fix was fixing the result of string operation, which before that was using "string offset" pseudo-type that never really worked properly, since it required special branches throughout the engine and tons of special cases and still produced bugs and segfaults. The fact that $a['foo']['bar'] works is just a side effect of that bug fix - because the result of string offset op is now string, as it always should have been. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

« previous php.internals (#56549) next »