Re: Friday morning brain farts....

From: Date: Fri, 10 Aug 2007 15:33:44 +0000
Subject: Re: Friday morning brain farts....
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-260593@lists.php.net to get a copy of this message
Daniel Brown wrote:
On 8/10/07, Robert Cummings <robert@interjinn.com> wrote:
I never disable E_NOTICE or even E_STRICT.
    I'm humbled in the presence of greatness.
    I do my best to ensure that there are no notices or warnings, but
I still disable E_NOTICE in general, because I know that it's not going to end the world.
Do your best? If you set out with the goal of not allowing your sites to generate notices it's no harder than ignoring them. The benefits far outweigh the minimal cost. I must admin that a couple of sites I've been involved with over the years have run with notices ignored, but that's only because they consisted of large amounts of code that had been written without any regard for them. Of all the sites I've worked on those were some of the worst. If PHP thinks something might be wrong it will tell you. Why on earth would you want to ignore it? You think you're smarter than PHP? Really? -Stut -- http://stut.net/

« previous php.general (#260593) next »