Re: error_handler
| From: | Andi Gutmans | Date: | Fri, 19 Dec 2003 22:31:31 +0000 |
| Subject: | Re: error_handler | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6637@lists.php.net to get a copy of this message | ||
At 05:29 PM 12/19/2003 -0500, Daniel Convissor wrote:
On Sat, Dec 20, 2003 at 12:13:45AM +0200, Andi Gutmans wrote: At 03:59 PM 12/19/2003 -0500, Daniel Convissor wrote:Yeah but in PHP 5 you have the extra argument. It's no problem to make the PHP 4 script use this. We will add it to README.PHP4-TO-PHP5-THIN-CHANGES. AndiNone the less, this wouldn't resolve the situation where loads of object oriented code all of a sudden starts spewing var depricated messages. Not fun.Those messages don't happen with E_ALL but only with E_ALL|E_STRICT (i.e. the person is using PHP 5 and intends to see these messages). Please stop complaining about the var depricated message, just use E_ALL! Once set_error_handler() is declared, ALL errors are in effect, including E_STRICT, regardless of what error reporting level has been defiend.