On Tuesday, July 2, 2002, at 04:48 AM, Richard Lynch wrote:
> Change it back.
> You'll find a lot more bugs a lot quicker that way.
> Use E_ALL
> Might need to transition one page at a time with error_reporting() at
> top or something, but migrate to E_ALL.
> You *will* benefit in the long run. Promise.
Except in a production environment, where you really never want your
users to see PHP error messages that you haven't coded yourself for the
user's benefit. It could reveal just a bit too much about your setup...
even filenames are valuable to maleficants.
I recommend setting your php.ini to E_NONE and then putting
error_reporting(E_ALL) at the top of each of your scripts, and then when
the file is migrated to production, comment or remove the line.
Web Developer Temp
Media Lab, H.H. Brown
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php