E_NOTICE:
http://www.php.net/manual/en/phpdevel-errors.php#internal.e-notice
http://www.php.net/manual/en/configuration.php#ini.error-reporting
The following won't create a E_NOTICE level error when $var is not set:
if (isset($var) $var == 'foo') {
echo 'I Love to foo';
}
Could also
ID: 14296
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Bogus
Bug Type: Variables related
Operating System: Win2k
PHP Version: 4.0.6
New Comment:
Not a bug.
Previous Comments:
ID: 14296
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Variables related
Operating System: Win2k
PHP Version: 4.0.6
New Comment:
What was the default in php.ini-dist for version 4.0.5?
I always leave the error_reporting in the ini file as it is.