php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #19843 set_error_handler does not work using a method as error_handling_function
Submitted: 2002-10-10 04:47 UTC Modified: 2002-10-10 08:57 UTC
From: j dot metzger at steptown dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.2.2 OS: Linux
Private report: No CVE-ID: None
 [2002-10-10 04:47 UTC] j dot metzger at steptown dot com
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-10 08:57 UTC] mfischer@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Nov 19 13:00:01 2025 UTC