RE: [PHP] Re: Member function as error_handler
| From: | John W. Holmes | Date: | Sun, 09 Mar 2003 18:07:59 +0000 |
| Subject: | RE: [PHP] Re: Member function as error_handler | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-138870@lists.php.net to get a copy of this message | ||
> > I'd recommend that you consider using the set_error_handler function
>
> Of course, this is what I am doing. My question is can I use a member
> function of an object as an error handler? I don't seem to be able to,
> but I might have overlooked something.
Read the user notes on the manual page, there are a few suggestions on
how you can do this.
http://www.php.net/manual/en/function.set-error-handler.php
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/