Re: error_handler
| From: | Lenar Lõhmus | Date: | Fri, 19 Dec 2003 16:42:36 +0000 |
| Subject: | Re: error_handler | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6610@lists.php.net to get a copy of this message | ||
> Please provide a real world example of why you would need version compare.
I wouldn't :)
> Error handlers written for PHP 4 (expecting that all errors will go to the
> handler) will operate just fine under the new system (where only errors
> meeting the error reporting mask get sent to the handler).
Ok, I got carried away ... after a bit thinking it seems you are right
saying this.
But it's not good either stopping my error_handler from being called in PHP5
accordingly to error_reporting() value. This way I might not notice my
error handler isn't getting all calls it used to (depends on conf). So IMHO
silent behavior change is still worse.
>
L.