Re: Error disabling
| From: | Maxim Maletsky | Date: | Fri, 04 Oct 2002 11:08:15 +0000 |
| Subject: | Re: Error disabling | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-118853@lists.php.net to get a copy of this message | ||
Error Reporting : php.net/error_reporting
looks like this:
error_reporting(0); // for outputting nothing
error_reporting(55); // PHP4's default
error_reporting(E_ALL | E_NOTICE); // for anything PHP can complain of
Maxim Maletsky
maxim@php.net
www.PHPBeginner.com // where PHP Begins
On Fri, 4 Oct 2002 10:51:01 -0000
"Davíð Örn Jóhannsson" <david@atom.is> wrote:
> I need to be able to disable error reporting on one page with php, I
> just dont 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.
>