Re: No notices for undefined index
| From: | Shawn McKenzie | Date: | Thu, 08 Apr 2010 20:03:30 +0000 |
| Subject: | Re: No notices for undefined index | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-303924@lists.php.net to get a copy of this message | ||
Andre Polykanine wrote:
> Hello Shawn,
>
> Hm... isn't it expected behavior? Since you haven't defined a
> $a['test'] item, PHP throws a notice... or I'm wrong?
Yes it is expected. I'm saying the opposite that it doesn't in the
first case.
--
Thanks!
-Shawn
http://www.spidean.com