Andi Gutmans wrote:
E_STRICT will be disabled by default. It is only meant for people who want to be sure that they are using the recommended methods, and that definitely includes not using var.

The problem is that it doesn't match the real world. People _are_ using PEAR and people _are_ using PHP4. So they simply _can't_ change var to public. So E_STRICT is currently way too noisy for them. Hence they'll not use it. That's why I think two levels (e.g. E_STRICT for backward compatible stuff and E_PEDANTIC for everything) makes sense. Or call it E_DEPRECATED and E_STRICT if you want.


I for one would love to use E_DEPRECATED if it existed but I can't use E_NOTICE (I use uninitialized variables all the time, it's one of the main features of PHP for me) or E_STRICT (my code has to work on PHP4).

- Chris

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



Reply via email to