Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62730 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52666 invoked from network); 3 Sep 2012 12:02:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Sep 2012 12:02:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 64.22.89.133 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 64.22.89.133 oxmail.registrar-servers.com Received: from [64.22.89.133] ([64.22.89.133:41379] helo=oxmail.registrar-servers.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 24/46-20751-96C94405 for ; Mon, 03 Sep 2012 08:02:49 -0400 Received: from [10.127.158.88] (unknown [82.132.213.233]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by oxmail.registrar-servers.com (Postfix) with ESMTPSA id 49B387580C9; Mon, 3 Sep 2012 08:02:34 -0400 (EDT) References: <20120902230741.TSGJ23973.aamtaout03-winn.ispmail.ntl.com@p2> User-Agent: K-9 Mail for Android In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: Mon, 03 Sep 2012 13:02:19 +0100 To: Laruence ,Pierre Joye CC: Derick Rethans ,Jared Williams ,internals@lists.php.net Message-ID: Subject: Re: [PHP-DEV] Foreach list behaviour From: ajf@ajf.me (Andrew Faulds) Laruence wrote: >Hi: > if we fixed this, what about following example: > > >$num = NULL; > >echo $num["xxx"]; > > > does this also deserve a notice? > >thanks No because NULL is just the first element in implicit array conversion > > > >-- >Laruence Xinchen Hui >http://www.laruence.com/ > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php -- Sent from my Android phone with K-9 Mail. Andrew Faulds http://ajf.me/