Re: error_handler
| From: | John Coggeshall | Date: | Fri, 19 Dec 2003 20:48:23 +0000 |
| Subject: | Re: error_handler | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6627@lists.php.net to get a copy of this message | ||
On Fri, 2003-12-19 at 09:43, Christian Schneider wrote:
> No, you were right. A script using
> set_error_handler("handler", error_reporting());
> will get "Wrong parameter count for set_error_handler()" for PHP4.
I don't really see the issue with PHP 5 code not being able to be ran in
PHP4. If that's the case, let's throw out all of the ZE2 OO stuff too
because that's not PHP 4 compatible either.
--
-=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-
John Coggeshall http://www.coggeshall.org/
The PHP Developer's Handbook http://www.php-handbook.com/
-=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-