Re: ~E_NOTICE, why not ?
| From: | Jean-Christian Imbeault | Date: | Wed, 08 Jan 2003 05:54:49 +0000 |
| Subject: | Re: ~E_NOTICE, why not ? | ||
| References: | 1 | Groups: | php.general php.general |
| Request: | Send a blank email to php-general+get-130712@lists.php.net to get a copy of this message | ||
Pupeno wrote:
$oer = error_reporting(E_ALL & ~E_NOTICE); $tpl->display("index.html"); error_reporting($oer); but it still reports notices, any idea ?Should be error_reporting (E_ALL ^ E_NOTICE); See: http://www.php.net/manual/en/function.error-reporting.php Jc