note 97780 added to errorfunc.examples
| From: | samuelp at iinet dot net dot au | Date: | Fri, 07 May 2010 14:22:01 +0000 |
| Subject: | note 97780 added to errorfunc.examples | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-169058@lists.php.net to get a copy of this message | ||
The example is misleading. Where it notes:
// in reality the only entries we should
// consider are E_WARNING, E_NOTICE, E_USER_ERROR,
// E_USER_WARNING and E_USER_NOTICE
It should say something like "Only these errors (plus E_RECOVERABLE_ERROR) a can be handled by
a user defined handler".
I.e. the "$errortype" array contains redundant entries.
----
Server IP: 117.104.162.229
Probable Submitter: 124.148.252.191 (proxied: 124.148.252.191)
----
Manual Page -- http://www.php.net/manual/en/errorfunc.examples.php
Edit -- https://master.php.net/note/edit/97780
Del: integrated -- https://master.php.net/note/delete/97780/integrated
Del: useless -- https://master.php.net/note/delete/97780/useless
Del: bad code -- https://master.php.net/note/delete/97780/bad+code
Del: spam -- https://master.php.net/note/delete/97780/spam
Del: non-english -- https://master.php.net/note/delete/97780/non-english
Del: in docs -- https://master.php.net/note/delete/97780/in+docs
Del: other reasons-- https://master.php.net/note/delete/97780
Reject -- https://master.php.net/note/reject/97780
Search -- https://master.php.net/manage/user-notes.php