PLEASE, don't be the kind of developer that does this all over his code:

>> error_reporting(E_ALL & E_STRICT ? E_ALL ^ E_STRICT : E_ALL);

Either define it once in the same place, or use the php.ini value and
make sure it's proper.
Here's my development/production, yours should be the same:

; Development
display_errors = On
display_startup_errors = On
log_errors = Off
; This can now be E_ALL; as it should!
error_reporting = E_ALL | E_STRICT

; Production
display_errors = Off
display_startup_errors = Off
log_errors = On
ignore_repeated_errors = On
error_log = "/var/logs/php_error_log"
error_reporting = E_ALL & ~E_DEPRECATED

Cheers,
~ Daniel Macedo

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

Reply via email to