Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56541 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10227 invoked from network); 23 Nov 2011 22:31:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Nov 2011 22:31:31 -0000 Authentication-Results: pb1.pair.com header.from=glopes@nebm.ist.utl.pt; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=glopes@nebm.ist.utl.pt; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain nebm.ist.utl.pt from 193.136.128.22 cause and error) X-PHP-List-Original-Sender: glopes@nebm.ist.utl.pt X-Host-Fingerprint: 193.136.128.22 smtp2.ist.utl.pt Linux 2.6 Received: from [193.136.128.22] ([193.136.128.22:60138] helo=smtp2.ist.utl.pt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6D/B0-03584-0447DCE4 for ; Wed, 23 Nov 2011 17:31:29 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp2.ist.utl.pt (Postfix) with ESMTP id 6865B70004BD for ; Wed, 23 Nov 2011 22:31:25 +0000 (WET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at ist.utl.pt Received: from smtp2.ist.utl.pt ([127.0.0.1]) by localhost (smtp2.ist.utl.pt [127.0.0.1]) (amavisd-new, port 10025) with LMTP id RFjBB+7QWv+5 for ; Wed, 23 Nov 2011 22:31:25 +0000 (WET) Received: from mail2.ist.utl.pt (mail.ist.utl.pt [IPv6:2001:690:2100:1::8]) by smtp2.ist.utl.pt (Postfix) with ESMTP id 33FC570004B3 for ; Wed, 23 Nov 2011 22:31:24 +0000 (WET) Received: from cataphract.cata.lo.geleia.net (cataphract.lo.geleia.net [IPv6:2001:470:94a2:1:b488:8610:90e4:7835]) (Authenticated sender: ist155741) by mail2.ist.utl.pt (Postfix) with ESMTPSA id 146E020071A7 for ; Wed, 23 Nov 2011 22:31:23 +0000 (WET) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: 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> <4ECD4231.7070306@sugarcrm.com> Date: Wed, 23 Nov 2011 22:30:56 -0000 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Organization: =?utf-8?Q?N=C3=BAcleo_de_Eng=2E_Biom=C3=A9di?= =?utf-8?Q?ca_do_IST?= Message-ID: In-Reply-To: User-Agent: Opera Mail/11.52 (Win32) Subject: Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values From: glopes@nebm.ist.utl.pt ("Gustavo Lopes") On Wed, 23 Nov 2011 21:06:09 -0000, Pierre Joye wrote: > The fact that we have reports here showing code not working anymore > because of this change tells me that it is a BC break. We can call it > a bug fix but it still breaks code out there for no real benefit but > edge case usages. We had this situation before, that does not help us. > I'd say for no benefit at all. Why would anyone ever want to take a string offset from a string that certainly has length 1? Except for taking satisfaction in this "improved consistency", I see absolutely no benefit. Up until now, it was deemed a useless but innocuous change. Now that we found it has pernicious side effects, we ought to revert it. -- Gustavo Lopes