> -----Original Message----- > From: Daevid Vincent [mailto:daevid@xxxxxxxxxx] > Sent: 11 August 2009 02:19 > > Then YOU have more aggressive error_reporting than the default > setting > turned on. You might consider turning it down a notch. NOTICEs are > basically > useless and bloat your code IMHO -- and apparently the PHP devs too > as per > this... > > http://us2.php.net/manual/en/function.error-reporting.php > > // Report all errors except E_NOTICE > // This is the default value set in php.ini > error_reporting(E_ALL ^ E_NOTICE); Yes, but recent versions also have the following recommended settings: ; error_reporting ; Development Value: E_ALL | E_STRICT ; Production Value: E_ALL & ~E_DEPRECATED ; display_errors ; Development Value: On ; Production Value: Off Cheers! Mike -- Mike Ford, Electronic Information Developer, Libraries and Learning Innovation, Leeds Metropolitan University, C507, Civic Quarter Campus, Woodhouse Lane, LEEDS, LS1 3HE, United Kingdom Email: m.ford@xxxxxxxxxxxxxx Tel: +44 113 812 4730 To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php