note 114399 added to function.set-error-handler
| From: | dannykopping at gmail dot com | Date: | Sun, 16 Feb 2014 09:52:27 +0000 |
| Subject: | note 114399 added to function.set-error-handler | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-198524@lists.php.net to get a copy of this message | ||
Keep in mind that, when attempting to set a statically-defined error handler on a namespaced class
in PHP >= 5.3, you need to use the class namespace:
<?php
set_error_handler('\\My\\Namespace\\Bob::errorHandler');
?>
----
Server IP: 72.52.91.14
Probable Submitter: 72.52.91.14
----
Manual Page -- http://php.net/manual/en/function.set-error-handler.php
Edit -- https://master.php.net/note/edit/114399
Del: integrated -- https://master.php.net/note/delete/114399/integrated
Del: useless -- https://master.php.net/note/delete/114399/useless
Del: bad code -- https://master.php.net/note/delete/114399/bad+code
Del: spam -- https://master.php.net/note/delete/114399/spam
Del: non-english -- https://master.php.net/note/delete/114399/non-english
Del: in docs -- https://master.php.net/note/delete/114399/in+docs
Del: other reasons-- https://master.php.net/note/delete/114399
Reject -- https://master.php.net/note/reject/114399
Search -- https://master.php.net/manage/user-notes.php