note 25694 added to function.set-error-handler

From: Date: Wed, 02 Oct 2002 14:33:11 +0000
Subject: note 25694 added to function.set-error-handler
Groups: php.notes 
Request: Send a blank email to php-notes+get-37547@lists.php.net to get a copy of this message
I was unable to use class functions as a point to handle errors, after many attempts it just didn't work. I even tried define for: define('ERROR_HANDLER', $this->error_handler); set_error_handler(ERROR_HANDLER); but that didn't work. Would be nice if this could be worked into php somehow... -- http://www.php.net/manual/en/function.set-error-handler.php http://master.php.net/manage/user-notes.php?action=edit+25694 http://master.php.net/manage/user-notes.php?action=delete+25694 http://master.php.net/manage/user-notes.php?action=reject+25694

« previous php.notes (#37547) next »