Re: Error disabling
| From: | Holger Heinze, Portalmeister GmbH | Date: | Fri, 04 Oct 2002 11:17:17 +0000 |
| Subject: | Re: Error disabling | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-118859@lists.php.net to get a copy of this message | ||
Hi there,
i use this line in my code.
#error_reporting(E_ALL); // set to --> (E_ERROR) (E_WARNING) (E_PARSE)
(E_NOTICE) (E_CORE_ERROR) (E_CORE_WARNING) (E_ALL)
check out the docs:
http://www.php.net/manual/en/function.error-reporting.php
holger
----- Original Message -----
From: "Davíð Örn Jóhannsson" <david@atom.is>
To: <php-general@lists.php.net>
Sent: Friday, October 04, 2002 12:51 PM
Subject: [PHP] Error disabling
I need to be able to disable error reporting on one page with php, I
just don't remember how to do this, if I remember correctly I could call
some function in the begining of a php doc and tell it not to disply any
errors that occur while parsing the doc.