#20072 [NEW]: set_error_handler doesn't accept Class::function()
| From: | mark at tapinternet dot com | Date: | Thu, 24 Oct 2002 19:17:20 +0000 |
| Subject: | #20072 [NEW]: set_error_handler doesn't accept Class::function() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-23230@lists.php.net to get a copy of this message | ||
From: mark@tapinternet.com
Operating system: mandrake-9
PHP version: 4.2.3
PHP Bug Type: Scripting Engine problem
Bug description: set_error_handler doesn't accept Class::function()
set_error_handler() does not accept static class functions
as a custom error handling function.
set_error_handler('ErrorClass::handler') will not report
false if called twice in succession. But it will also not
route errors through the static class function. Either it
should return false so that a script can realize the input
was not handled properly, or it should route errors
throught the static class function.
--
Edit bug report at http://bugs.php.net/?id=20072&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20072&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20072&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20072&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20072&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20072&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20072&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20072&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20072&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20072&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20072&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20072&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20072&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20072&r=isapi