Re: Foreach list behaviour

From: Date: Mon, 03 Sep 2012 12:02:19 +0000
Subject: Re: Foreach list behaviour
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-62730@lists.php.net to get a copy of this message
Laruence <laruence@php.net> wrote: >Hi: > if we fixed this, what about following example: > ><?php > >$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/

« previous php.internals (#62730) next »