Le 13/07/2014 15:58, Andrea Faulds a écrit :

On 13 Jul 2014, at 14:54, Jocelyn Fournier <jocelyn.fourn...@gmail.com> wrote:

Ok, in this case I would suggest always displaying a warning in E_STRICT since 
it's the whole purpose of the strict mode :)

Isn’t E_STRICT more for compile-time stuff? I’d think E_NOTICE would be the 
appropriate type here.

BTW, is there a doc somewhere describing what E_NOTICE and E_STRICT really stand for ? (if not, that would be great) I can see indeed in http://php.net//manual/en/function.error-reporting.php "Most of E_STRICT errors are evaluated at the compile time", but "most" means there are already exceptions ? :)

That said, either E_NOTICE or E_STRICT would be fine for me.


  Jocelyn



--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to