note 105583 deleted from function.set-error-handler by danbrown
| From: | danbrown@php.net | Date: | Tue, 30 Aug 2011 17:17:40 +0000 |
| Subject: | note 105583 deleted from function.set-error-handler by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-182833@lists.php.net to get a copy of this message | ||
Note Submitter: Ran
----
The performance decrease problem noted by Michal can be avoided by not handling E_NOTICE which in
turn can be done by supplying E_ALL ^ E_NOTICE as the "error_types" parameter for this
function, that'll 'cause the function to ignore errors of type E_NOTICE. Hope that helps
anyone.