Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56589 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62005 invoked from network); 24 Nov 2011 21:31:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Nov 2011 21:31:02 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.143 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.143 smtp143.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.143] ([67.192.241.143:41857] helo=smtp143.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 02/B5-26290-597BECE4 for ; Thu, 24 Nov 2011 16:31:02 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp14.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id BAD2D29A6C1; Thu, 24 Nov 2011 16:30:58 -0500 (EST) X-Virus-Scanned: OK Received: by smtp14.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id DA2F929A589; Thu, 24 Nov 2011 16:30:57 -0500 (EST) Message-ID: <4ECEB791.9060203@sugarcrm.com> Date: Thu, 24 Nov 2011 13:30:57 -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: Rasmus Lerdorf CC: Pierre Joye , Larry Garfield , "internals@lists.php.net" References: <20111123015008.GA12933@panix.com> <20111123023108.GA172@panix.com> <4ECCB549.904@lsces.co.uk> <4ECCBC56.3050602@sugarcrm.com> <20111123141408.GA11940@panix.com> <20111123153100.GB13420@panix.com> <4ECD37D9.8090604@lsces.co.uk> <4ECEA547.9070605@garfieldtech.com> <4ECEAAA4.8010800@lerdorf.com> <4ECEB3C5.7010708@lerdorf.com> In-Reply-To: <4ECEB3C5.7010708@lerdorf.com> Content-Type: text/plain; charset=ISO-8859-1; 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! > 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. I think you're underestimating it. We'd have to revert many of changes done to the engine in 5.4, and I strongly suspect str_offset is incompatible with literals improvement, which means all performance gains in 5.4 would be ruined too. Pretty much we'd have to roll back whole Zend engine to 5.3 state as far as I can see it. I don't think this even worth discussing. That, of course, does not preclude discussing how we can improve current situation - but by now I would ask anybody who wants to comment about "reverting" please not to do so because it's going nowhere. If you have a proposal on how to make it better with regard to existing code that relied on sting offsets bugs - you are more than welcome, especially if you propose a patch :) -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227