note 105583 added to function.set-error-handler

From: Date: Tue, 30 Aug 2011 12:48:39 +0000
Subject: note 105583 added to function.set-error-handler
Groups: php.notes 
Request: Send a blank email to php-notes+get-182821@lists.php.net to get a copy of this message
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. ---- Server IP: 69.147.83.197 Probable Submitter: 82.181.187.102 ---- Manual Page -- http://www.php.net/manual/en/function.set-error-handler.php Edit -- https://master.php.net/note/edit/105583 Del: integrated -- https://master.php.net/note/delete/105583/integrated Del: useless -- https://master.php.net/note/delete/105583/useless Del: bad code -- https://master.php.net/note/delete/105583/bad+code Del: spam -- https://master.php.net/note/delete/105583/spam Del: non-english -- https://master.php.net/note/delete/105583/non-english Del: in docs -- https://master.php.net/note/delete/105583/in+docs Del: other reasons-- https://master.php.net/note/delete/105583 Reject -- https://master.php.net/note/reject/105583 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#182821) next »