[PHP] Re: Member function as error_handler

2003-03-09 Thread David Eisenhart
I'd recommend that you consider using the set_error_handler function. This'll let you create and use your own custom error handler function (which is fired for errors of the E_ERROR, E_WARNING and E_NOTICE type and also those errors that you deliberately trigger using trigger_error()) - very

Re: [PHP] Re: Member function as error_handler

2003-03-09 Thread Nik Makepeace
On Mon, 2003-03-10 at 02:40, David Eisenhart wrote: 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

RE: [PHP] Re: Member function as error_handler

2003-03-09 Thread John W. Holmes
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,