> Le 29 août 2019 à 13:33, Aegir Leet via internals <internals@lists.php.net> a 
> écrit :
> 
> I'm sorry, but if you seriously believe doing something that generates a 
> notice (or warning, or error, ...) is not a bug - you're delusional.

No, what you think is not at all how notices were designed. From the manual 
(https://www.php.net/errorfunc.constants 
<https://www.php.net/errorfunc.constants>):

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.

One can discuss whether unitialised variables should trigger a notice or a 
warning. But let us respect the semantics of the language features.

—Claude

Reply via email to