Re: Notice warnings and performance
| From: | Richard Davey | Date: | Wed, 25 Jul 2007 09:32:58 +0000 |
| Subject: | Re: Notice warnings and performance | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-259501@lists.php.net to get a copy of this message | ||
Hi Erfan,
Wednesday, July 25, 2007, 9:39:35 AM, you wrote:
> The site I'm working on has a lot of notice warnings, thousands. And
> they are all about: (Notice: Undefined variable..)
> I was wondering if I set the php.ini file to not log these in file or
> display them, does all of these notice warnings still degrade
> performance? Or does it become a performance issue only when you log
> this on either file or display them?
You could always fix them? :)
But sure, setting PHP to ignore notices will stop your logs filling
up, and will of course result in less disk IO, so you'll get a teeny
tiny performance gain from it, but nothing to bet your life savings
on.
Cheers,
Rich
--
Zend Certified Engineer
http://www.corephp.co.uk
"Never trust a computer you can't throw out of a window"