Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56560 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74204 invoked from network); 24 Nov 2011 10:06:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Nov 2011 10:06:20 -0000 Authentication-Results: pb1.pair.com header.from=devis@oracolo.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=devis@oracolo.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain oracolo.com designates 209.85.215.42 as permitted sender) X-PHP-List-Original-Sender: devis@oracolo.com X-Host-Fingerprint: 209.85.215.42 mail-lpp01m010-f42.google.com Received: from [209.85.215.42] ([209.85.215.42:38500] helo=mail-lpp01m010-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FE/93-46656-A171ECE4 for ; Thu, 24 Nov 2011 05:06:19 -0500 Received: by lami14 with SMTP id i14so47347lam.29 for ; Thu, 24 Nov 2011 02:06:14 -0800 (PST) Received: by 10.152.104.167 with SMTP id gf7mr16937245lab.46.1322129174092; Thu, 24 Nov 2011 02:06:14 -0800 (PST) MIME-Version: 1.0 Sender: devis@oracolo.com Received: by 10.152.24.167 with HTTP; Thu, 24 Nov 2011 02:05:32 -0800 (PST) In-Reply-To: <4ECDA01B.5090606@sugarcrm.com> 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> <4ECD9998.4060203@lsces.co.uk> <4ECDA01B.5090606@sugarcrm.com> Date: Thu, 24 Nov 2011 10:05:32 +0000 X-Google-Sender-Auth: c-EN0-CwNmTgVE_olD7E3BYngDU Message-ID: To: Stas Malyshev Cc: Lester Caine , PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values From: devis@lucato.it On 24 November 2011 01:38, Stas Malyshev wrote: > Hi! > >> But neither is introducing a potential bomb of the kind that the 'date' >> saga >> created. The problem this change IS causing is likely to hit many live >> sites > > The claim that many live sites actually regularly use string multiple string > offsets to distinguish strings from arrays sounds implausible to me. > Hi, I hadn't the opportunity to install php 5.4 to test this, so I was wondering if someone could test how would this code behave ? ########### if ( !isset( $widget_options['dashboard_incoming_links'] ) || !isset( $widget_options['dashboard_incoming_links']['home'] ) || $widget_options['dashboard_incoming_links']['home'] != get_option('home') ) ########### Is that correct saying that if the first condition is false the second will always be true ? Note: that's a piece of Wordpress Thank you Devis