From: david dot grant at wiredmedia dot co dot uk Operating system: Windows 2000 PHP version: 4.3.1 PHP Bug Type: Class/Object related Bug description: set_error_handler fails to pick up method reference
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 bug report at http://bugs.php.net/?id=22894&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22894&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22894&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22894&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22894&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22894&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22894&r=support Expected behavior: http://bugs.php.net/fix.php?id=22894&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22894&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22894&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22894&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22894&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22894&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22894&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22894&r=gnused