Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56563 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78268 invoked from network); 24 Nov 2011 10:32:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Nov 2011 10:32:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=confik@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=confik@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: confik@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:56701] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6D/24-46656-23D1ECE4 for ; Thu, 24 Nov 2011 05:32:20 -0500 Received: by yenm10 with SMTP id m10so406553yen.29 for ; Thu, 24 Nov 2011 02:32:14 -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:content-transfer-encoding; bh=DUsCktmzWNWwQthg0ya4mVHx7xp1Ys0mNowLrKV3EPE=; b=V8J+7AmPxcwbPcgbZvVy/Gd672ArWRnRD0+DvBBj3iQ2AIUSBhmoc4fGeSTjdjlpdn f+HlfHlt9sfsz9ELohkxc4f39IqTs1VmO1yMLvzE9I6J6fdtw3aDV3gvAJes/Y1Eu99I 8K7iOuGUSIWNZArQ9BCoNOwlwHTEvjfZa/1eM= Received: by 10.236.118.164 with SMTP id l24mr27928601yhh.59.1322130734426; Thu, 24 Nov 2011 02:32:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.100.31.3 with HTTP; Thu, 24 Nov 2011 02:31:52 -0800 (PST) In-Reply-To: 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 15:31:52 +0500 Message-ID: To: devis@lucato.it Cc: Stas Malyshev , Lester Caine , PHP internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values From: confik@gmail.com (Alexey Shein) 2011/11/24 : > 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 st= ring >> 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 ? > Hi, Davis, first of all you can use this service: http://codepad.viper-7.com/ to test your code against 5.2, 5.3, 5.4 and latest trunk. > ########### > if ( > !isset( $widget_options['dashboard_incoming_links'] ) > =C2=A0|| !isset( $widget_options['dashboard_incoming_links']['home'] ) > =C2=A0|| $widget_options['dashboard_incoming_links']['home'] !=3D get_opt= ion('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 > About your question if I understand it correctly: if $widget_options['dashboard_incoming_links'] is not set, then $widget_options['dashboard_incoming_links']['home'] can't be set in any conditions. > > Thank you > Devis > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --=20 Regards, Shein Alexey