note 59468 deleted from function.error-reporting by nlopess

From: Date: Wed, 07 Dec 2005 20:22:43 +0000
Subject: note 59468 deleted from function.error-reporting by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-99700@lists.php.net to get a copy of this message
Note Submitter: phyre at rogers dot com Reason: useless ---- It is easy to get into the habbit of thinking E_ALL includes anything. Remember, that ^ is the NOT of whatever is there. E_ALL ^ E_STRICT probably doesn't do what you want it to do, and in fact, does the exact same thing as E_ALL | E_STRICT. I was lowering error reporting for a short time and had $errorlevel = error_reporting(E_ALL^E_STRICT); ... error_reporting($errorlevel); and it took me a couple minutes to find that error.

« previous php.notes (#99700) next »