~E_NOTICE, why not ?

From: Date: Tue, 07 Jan 2003 22:25:57 +0000
Subject: ~E_NOTICE, why not ?
Groups: php.general php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7058@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm using error reporting E_ALL that helps me debugging, but Smarty generates some E_NOTICEs, so, I want to disable E_NOTICE before displaying. I'm doing this: $oer = error_reporting(E_ALL & ~E_NOTICE); $tpl->display("index.html"); error_reporting($oer); but it still reports notices, any idea ? Thanks. - -- Pupeno: pupeno@pupeno.com http://www.pupeno.com - --- Help the hungry children of Argentina, please go to (and make it your homepage): http://www.porloschicos.com/servlet/PorLosChicos?comando=donar -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+G1P3Lr8z5XzmSDQRAvnjAJ4shxhUlcafAKHXJR/jIRveCce2ZQCg0dni ftTqrFrx5fjZu9EpXpbnNZ4= =qTcV -----END PGP SIGNATURE-----

« previous php.smarty.general (#7058) next »