PHP4 - set_error_handler() help
| From: | John Damask | Date: | Thu, 14 Sep 2000 13:30:15 +0000 |
| Subject: | PHP4 - set_error_handler() help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-16769@lists.php.net to get a copy of this message | ||
Does anyone know the syntax for directing set_error_handler() to a class
function?
set_error_handler("cls->myError") doesn't work.
I tried:
$err = $cls->myError();
set_error_handler("err");
This successfully calls my function but the error vals don't seem to be
passed.
Thanks
John