Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56576 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8848 invoked from network); 24 Nov 2011 13:05:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Nov 2011 13:05:00 -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.213.170 as permitted sender) X-PHP-List-Original-Sender: devis@oracolo.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:35664] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7C/C9-46656-BF04ECE4 for ; Thu, 24 Nov 2011 08:04:59 -0500 Received: by yenm10 with SMTP id m10so554741yen.29 for ; Thu, 24 Nov 2011 05:04:56 -0800 (PST) Received: by 10.152.104.167 with SMTP id gf7mr17393210lab.46.1322139894177; Thu, 24 Nov 2011 05:04:54 -0800 (PST) MIME-Version: 1.0 Sender: devis@oracolo.com Received: by 10.152.24.167 with HTTP; Thu, 24 Nov 2011 05:04:13 -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> <4ECDAEE5.7020205@gmail.com> Date: Thu, 24 Nov 2011 13:04:13 +0000 X-Google-Sender-Auth: mYstj2oaeLiQGxYWKgOc369J87A Message-ID: To: Ferenc Kovacs Cc: David Muir , Stas Malyshev , Daniel Convissor , 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: devis@lucato.it Thanks Ferenc Everything looks ok http://codepad.viper-7.com/JTXsGK Devis On 24 November 2011 10:31, Ferenc Kovacs wrote: >> >> >>> It gives me false in 5.3.6. Using it outside of isset() results in the >>> fatal error. >>> >> >> hm. >> >> tyrael@thor:~$ php -r '$string =3D >> "foo";isset($string["foo"]["bar"]["baz"]["0"]);'; >> PHP Fatal error: =C2=A0Cannot use string offset as an array in Command l= ine >> code on line 1 >> tyrael@thor:~$ php -v >> PHP 5.3.8-1~dotdeb.2 with Suhosin-Patch (cli) (built: Aug 25 2011 13:30:= 46) >> Copyright (c) 1997-2011 The PHP Group >> Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies >> =C2=A0 =C2=A0 with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by Sektio= nEins GmbH >> >> I will check this against a vanilla version, as there is a chance that >> either dotdeb(less likely) or suhosin patched something. >> > > I just remembered that there is http://codepad.viper-7.com/ > so: > 5.3 - fatal error: http://codepad.viper-7.com/GGhoSn > 5.4 - works: http://codepad.viper-7.com/WRdyni > -- > Ferenc Kov=C3=A1cs > @Tyr43l - http://tyrael.hu >