Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56591 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65040 invoked from network); 24 Nov 2011 21:37:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Nov 2011 21:37:24 -0000 Authentication-Results: pb1.pair.com header.from=felipensp@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=felipensp@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.44 as permitted sender) X-PHP-List-Original-Sender: felipensp@gmail.com X-Host-Fingerprint: 209.85.210.44 mail-pz0-f44.google.com Received: from [209.85.210.44] ([209.85.210.44:33541] helo=mail-pz0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AF/46-26290-319BECE4 for ; Thu, 24 Nov 2011 16:37:23 -0500 Received: by pzk33 with SMTP id 33so2461819pzk.3 for ; Thu, 24 Nov 2011 13:37:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=rssc7TxDjVShMxiTQcrNQo9azOiaARQfDXfHeyAS4tg=; b=bBYOEXf2xqc11dOxGyTSs68Z6ljqT9Lb5/pEucWkz23jyP4Lw5gN/HOUNCthcOeQkt D8utTHBI0QxOih1f/ot4l+aKFZgONpxd4iaj157E/Yf8ZTQmzVhESK6C+I9v6H7sOe+C UgAfwsxO+K5SiZKgxOcTN9L1i96VfaxlvK73A= Received: by 10.68.74.40 with SMTP id q8mr21220177pbv.36.1322170640595; Thu, 24 Nov 2011 13:37:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.68.44.5 with HTTP; Thu, 24 Nov 2011 13:36:59 -0800 (PST) In-Reply-To: <4ECEB3C5.7010708@lerdorf.com> 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> Date: Thu, 24 Nov 2011 19:36:59 -0200 Message-ID: To: Rasmus Lerdorf Cc: Pierre Joye , Larry Garfield , internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values From: felipensp@gmail.com (Felipe Pena) Hi, 2011/11/24 Rasmus Lerdorf : > On 11/24/2011 01:08 PM, Pierre Joye wrote: >> hi Rasmus, >> >> On Thu, Nov 24, 2011 at 9:35 PM, Rasmus Lerdorf 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