Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56549 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29859 invoked from network); 24 Nov 2011 01:42:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Nov 2011 01:42:13 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 207.97.245.143 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 207.97.245.143 smtp143.iad.emailsrvr.com Linux 2.6 Received: from [207.97.245.143] ([207.97.245.143:58188] helo=smtp143.iad.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4B/83-03584-5F0ADCE4 for ; Wed, 23 Nov 2011 20:42:13 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp54.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id DB3732B0650; Wed, 23 Nov 2011 20:42:10 -0500 (EST) X-Virus-Scanned: OK Received: by smtp54.relay.iad1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 280AC2B0626; Wed, 23 Nov 2011 20:42:09 -0500 (EST) Message-ID: <4ECDA0F1.8050200@sugarcrm.com> Date: Wed, 23 Nov 2011 17:42:09 -0800 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: David Muir CC: Ferenc Kovacs , Daniel Convissor , Lester Caine , PHP internals References: <20111123015008.GA12933@panix.com> <20111123023108.GA172@panix.com> <4ECCB549.904@lsces.co.uk> <4ECCBC56.3050602@sugarcrm.com> <20111123141408.GA11940@panix.com> <4ECD40E2.1000601@sugarcrm.com> <4ECD48AD.1020207@sugarcrm.com> <4ECD91F4.5040303@gmail.com> <4ECD92FD.7040609@sugarcrm.com> <4ECD9BD4.6000705@gmail.com> In-Reply-To: <4ECD9BD4.6000705@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values From: smalyshev@sugarcrm.com (Stas Malyshev) 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