Daniel Brown wrote:
On 8/10/07, Robert Cummings <[EMAIL PROTECTED]> 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/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to