Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56547 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26247 invoked from network); 24 Nov 2011 01:20:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Nov 2011 01:20:26 -0000 Authentication-Results: pb1.pair.com header.from=davidkmuir@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=davidkmuir@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.42 as permitted sender) X-PHP-List-Original-Sender: davidkmuir@gmail.com X-Host-Fingerprint: 209.85.213.42 mail-yw0-f42.google.com Received: from [209.85.213.42] ([209.85.213.42:47433] helo=mail-yw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C9/E2-03584-9DB9DCE4 for ; Wed, 23 Nov 2011 20:20:26 -0500 Received: by ywt2 with SMTP id 2so1478230ywt.29 for ; Wed, 23 Nov 2011 17:20:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=EbnDOnUU33plAMoH+Ghd0tNBxGQctyNbWFtWk8vFU4I=; b=wALNrN+tV7sSDIUUx2b0wepb5yDkUVv9ApCW1X9brxj3qdfRu5eR4EgT14Jg3wVCOu LaodgjRTBVSSov2RhXUg+S6tPPi+ItVfben4PCf9CziXwm4+n56nXIP2MkgV3Z4CLWQh 8G+XUWNHpCHTbARm68xqIWXsY7kIATk3Kxdts= Received: by 10.236.116.1 with SMTP id f1mr5243809yhh.111.1322097622952; Wed, 23 Nov 2011 17:20:22 -0800 (PST) Received: from [192.168.0.13] (dsl-202-173-152-56.vic.westnet.com.au. [202.173.152.56]) by mx.google.com with ESMTPS id d63sm27960014yhl.10.2011.11.23.17.20.19 (version=SSLv3 cipher=OTHER); Wed, 23 Nov 2011 17:20:22 -0800 (PST) Message-ID: <4ECD9BD4.6000705@gmail.com> Date: Thu, 24 Nov 2011 12:20:20 +1100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20111031 Thunderbird/7.0.1 MIME-Version: 1.0 To: Stas Malyshev 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> In-Reply-To: <4ECD92FD.7040609@sugarcrm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values From: davidkmuir@gmail.com (David Muir) On 24/11/11 11:42, Stas Malyshev wrote: > Hi! > >> 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. 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. David