kalle Thu Feb 12 14:37:27 2009 UTC Modified files: (Branch: PHP_5_2) /php-src php.ini-dist php.ini-recommended Log: MFH: Fixed wrong usage of error_reporting directive http://cvs.php.net/viewvc.cgi/php-src/php.ini-dist?r1=1.231.2.10.2.26&r2=1.231.2.10.2.27&diff_format=u Index: php-src/php.ini-dist diff -u php-src/php.ini-dist:1.231.2.10.2.26 php-src/php.ini-dist:1.231.2.10.2.27 --- php-src/php.ini-dist:1.231.2.10.2.26 Sat Jan 31 19:26:02 2009 +++ php-src/php.ini-dist Thu Feb 12 14:37:27 2009 @@ -290,11 +290,11 @@ ; ; - Show all errors, except for notices and coding standards warnings ; -;error_reporting = E_ALL & ~E_NOTICE +;error_reporting = E_ALL | ~E_NOTICE ; ; - Show all errors, except for notices ; -;error_reporting = E_ALL & ~E_NOTICE | E_STRICT +;error_reporting = E_ALL | ~E_NOTICE | E_STRICT ; ; - Show only errors ; @@ -302,7 +302,7 @@ ; ; - Show all errors except for notices and coding standards warnings ; -error_reporting = E_ALL & ~E_NOTICE +error_reporting = E_ALL | ~E_NOTICE ; Print out errors (as a part of the output). For production web sites, ; you're strongly encouraged to turn this feature off, and use error logging http://cvs.php.net/viewvc.cgi/php-src/php.ini-recommended?r1=1.179.2.11.2.28&r2=1.179.2.11.2.29&diff_format=u Index: php-src/php.ini-recommended diff -u php-src/php.ini-recommended:1.179.2.11.2.28 php-src/php.ini-recommended:1.179.2.11.2.29 --- php-src/php.ini-recommended:1.179.2.11.2.28 Sat Jan 31 19:26:02 2009 +++ php-src/php.ini-recommended Thu Feb 12 14:37:27 2009 @@ -339,11 +339,11 @@ ; ; - Show all errors, except for notices and coding standards warnings ; -;error_reporting = E_ALL & ~E_NOTICE +;error_reporting = E_ALL | ~E_NOTICE ; ; - Show all errors, except for notices ; -;error_reporting = E_ALL & ~E_NOTICE | E_STRICT +;error_reporting = E_ALL | ~E_NOTICE | E_STRICT ; ; - Show only errors ;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php