Re: Re: pfpro issuing E_ERROR when E_WARNING would be more appropriate
| From: | Derick Rethans | Date: | Mon, 14 Jul 2003 07:12:22 +0000 |
| Subject: | Re: Re: pfpro issuing E_ERROR when E_WARNING would be more appropriate | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3407@lists.php.net to get a copy of this message | ||
On Mon, 14 Jul 2003, David wrote:
>
> These errors are thrown when the user is passing illegal variable types,
> please explain why you think they should be warnings. Even silently
> converting them to other types would make no sense in these cases.
It still shouldn't throw a fatal error. E_ERROR is only meant for
critical errors that will destabalize the Engine, in all other cases
E_WARNING should be used, which is almost always the case in extensions.
regards,
Derick
--
"Interpreting what the GPL actually means is a job best left to those
that read the future by examining animal entrails."
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
International PHP Magazine http://php-mag.net/
-------------------------------------------------------------------------