Re: set_error_handler()

From: Date: Tue, 17 Apr 2001 10:29:01 +0000
Subject: Re: set_error_handler()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-48933@lists.php.net to get a copy of this message
""Boget, Chris"" <Chris.Boget@wild.net> wrote: > Can you use the above function to set the error > handler to a custom class? If so, how? I've been > having no luck no matter what I do... > > Chris Chris. I tried doing something like: set_error_handler("Error::handleError"); myself, and to no avail. It seems that the namespace resolution in PHP is still very primitive. I know "Error::handleError()" will work in normal context, but it doesn't seem to work in dynamic evaluations. Perhaps when PHP gets real namespace support. Dean. http://hall.apt7.com

« previous php.general (#48933) next »