Re: foreach, assigning to a reference, and E_NOTICE
> 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
Thread (10 messages)