#18890 [Opn->Bgs]: Default value of error_reporting has changed

From: Date: Tue, 13 Aug 2002 21:26:07 +0000
Subject: #18890 [Opn->Bgs]: Default value of error_reporting has changed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16644@lists.php.net to get a copy of this message
ID: 18890 Updated by: rasmus@php.net Reported By: daniel@lorch.cc -Status: Open +Status: Bogus Bug Type: *Configuration Issues Operating System: Any PHP Version: 4.2.2 New Comment: Not true, in the code the default is: EG(error_reporting) = E_ALL & ~E_NOTICE; Which means that is the value if you have no php.ini file. The default php.ini-dist file that comes with the distribution tarball has: error_reporting = E_ALL & ~E_NOTICE So again here nothing has changed. Now, individual binary distributions may or may not have changed this. I think a windows build at some point had it set to E_ALL, but the default has not changed. Previous Comments: ------------------------------------------------------------------------ [2002-08-13 17:13:27] daniel@lorch.cc hi, It appears like error_reporting now also includes E_NOTICE by default. This causes a lot of scripts to spit out bogus errors. I know the error should be fixed in the script in the first place, but I couldn't find anything about this change either in the bug database nor in the changelog so I assume it is a bug and not an intentional setting. However, feel free to bogusify if I'm wrong :) -daniel ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18890&edit=1

« previous php.bugs (#16644) next »