At 20:39 16/06/2005, Dan Scott wrote:
On 6/16/05, Zeev Suraski <[EMAIL PROTECTED]> wrote:
> Why would you enable it then?  You have to very explicitly enable it, as
> it's off by default, and doesn't get enabled even if you switch to E_ALL.

Well, that depends on your definition of "default";

I meant what PHP comes with built-in / php.ini-dist.

php.ini-recommended in HEAD shows:

;   - Show all errors, including coding standards warnings
;
error_reporting  =  E_ALL | E_STRICT

-- so the user who does 'cp php.ini-recommended /etc/php.ini' is, in
fact, getting E_STRICT by default with the recommended configuration.

Perhaps E_ALL should be the default in php.ini-recommended, with E_ALL
| E_STRICT a documented (but commented) option.

Maybe we should be a bit more clear with what we say there.

Zeev

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

Reply via email to