#22894 [Opn->Bgs]: set_error_handler fails to pick up method reference

From: Date: Wed, 09 Apr 2003 10:59:13 +0000
Subject: #22894 [Opn->Bgs]: set_error_handler fails to pick up method reference
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37415@lists.php.net to get a copy of this message
ID: 22894 Updated by: sniper@php.net Reported By: david dot grant at wiredmedia dot co dot uk -Status: Open +Status: Bogus Bug Type: Class/Object related Operating System: Windows 2000 PHP Version: 4.3.1 New Comment: You're doing something wrong. Not bug in PHP. Previous Comments: ------------------------------------------------------------------------ [2003-03-26 05:50:15] david dot grant at wiredmedia dot co dot uk I have attempted to assign a class method to "set_error_handler" using the array approach recommended in the manual. However, a testing error is not picked up, and output to the HTTP response instead. I have tried passing the object as a reference internally (e.g. &$this) and externally with the variable name of the instance. PHP 4.3.1 IIS 5 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22894&edit=1

« previous php.bugs (#37415) next »