Re: foreach, assigning to a reference, and E_NOTICE

From: Date: Tue, 07 Mar 2006 08:16:43 +0000
Subject: Re: foreach, assigning to a reference, and E_NOTICE
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-22173@lists.php.net to get a copy of this message
> It *has* to be an E_STRICT because it's something related to language > and possible semantic errors. E_NOTICE is not for that. Isn't it the same as the following? sean@iconoclast:~$ php5 -d"error_reporting=2047" -r '$a=$b;' Notice: Undefined variable: b in Command line code on line 1 According to the manual: E_NOTICE == Run-time notices. Indicate that the script encountered something that could indicate an error, but could also happen in the normal course of running a script. S

« previous php.internals (#22173) next »