#19843 [NEW]: set_error_handler does not work using a method as error_handling_function
| From: | j dot metzger at steptown dot com | Date: | Thu, 10 Oct 2002 09:47:11 +0000 |
| Subject: | #19843 [NEW]: set_error_handler does not work using a method as error_handling_function | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969349101@lists.php.net to get a copy of this message | ||
From: j.metzger@steptown.com
Operating system: Linux
PHP version: 4.2.2
PHP Bug Type: Documentation problem
Bug description: set_error_handler does not work using a method as error_handling_function
Description (on
http://www.php.net/manual/en/function.set-error-handler.php)
Note: Instead of a function name, an array containing an object reference
and a method name can also be supplied.
Although documented it does first work
from 4.3.0 on. (maybe a suffix)
maybe this what do its job:
...can also be supplied ( php >= 4.3.0)
The problem is that only 4.2.3 is released
currently.
see also:
http://groups.google.de/groups?q=set_error_handler+in+class&hl=de&lr=&ie=UTF-8&oe=UTF-8&selm=akj2qn%241pqg%24140FreeBSD.csie.NCTU.edu.tw
--
Edit bug report at http://bugs.php.net/?id=19843&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19843&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19843&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19843&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19843&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19843&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19843&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19843&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19843&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19843&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19843&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19843&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=19843&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=19843&r=isapi