Re: problem using error_reporting() PHP 5.0.2 (cli)
| From: | Yashesh Bhatia | Date: | Sun, 24 Oct 2004 18:28:55 +0000 |
| Subject: | Re: problem using error_reporting() PHP 5.0.2 (cli) | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200194@lists.php.net to get a copy of this message | ||
thanks. anyplace i can find which errors are reported by E_STRICT at
runtime and which ones at compile time ?
thx.
yashesh bhatia.
On Sun, 24 Oct 2004 15:24:34 +0000, Curt Zirzow
<php-general@zirzow.dyndns.org> wrote:
> * Thus wrote Yashesh Bhatia:
> >
> > My question is why is the funtion call
> >
> > error_reporting(E_ALL|E_STRICT);
> >
> > not enabling E_STRICT at runtime ?
>
> <manual set_error_handler>
> Note: The following error types cannot be handled with a user
> defined function: E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING,
> E_COMPILE_ERROR, E_COMPILE_WARNING, and E_STRICT.
> </manual> ^^^^^^^^
>
> Most E_STRICT errors occur during compile time, not at time of
> execution.
>
> Curt
> --
> Quoth the Raven, "Nevermore."
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>