Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56600 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84471 invoked from network); 24 Nov 2011 22:17:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Nov 2011 22:17:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.210.170 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.210.170 mail-iy0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:33406] helo=mail-iy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 30/5A-26290-972CECE4 for ; Thu, 24 Nov 2011 17:17:29 -0500 Received: by iakc1 with SMTP id c1so3929554iak.29 for ; Thu, 24 Nov 2011 14:17:26 -0800 (PST) Received: by 10.42.161.69 with SMTP id s5mr9244179icx.23.1322173046505; Thu, 24 Nov 2011 14:17:26 -0800 (PST) Received: from [192.168.200.5] (c-50-131-44-225.hsd1.ca.comcast.net. [50.131.44.225]) by mx.google.com with ESMTPS id dd36sm92421032ibb.7.2011.11.24.14.17.24 (version=SSLv3 cipher=OTHER); Thu, 24 Nov 2011 14:17:25 -0800 (PST) Message-ID: <4ECEC273.5060905@lerdorf.com> Date: Thu, 24 Nov 2011 14:17:23 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: Larry Garfield CC: 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> <4ECEBF46.3090206@garfieldtech.com> In-Reply-To: <4ECEBF46.3090206@garfieldtech.com> X-Enigmail-Version: 1.4a1pre 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: rasmus@lerdorf.com (Rasmus Lerdorf) On 11/24/2011 02:03 PM, Larry Garfield wrote: > Generally $foo, bar, and baz will all be arrays, and if they're not it > means someone else had a bug somewhere. Of course, Drupal module > developers never have bugs in their code that accidentally puts a string > where they should have put an array, no, not at all. :-) (Generally > when that happens we already hit a "first argument to foreach() must be > an array" error.) > > Currently we don't use ArrayAccess anywhere aside from inheriting it > from PDO. > > If that doesn't change, then I rescind my previous panic attack. Yes, no change in any of that. In your usage, the case that behaves differently in 5.4 was actually a fatal error in 5.3, so chances are pretty good you don't have too many of these. -Rasmus