note 72238 added to ref.errorfunc

From: Date: Tue, 09 Jan 2007 01:16:35 +0000
Subject: note 72238 added to ref.errorfunc
Groups: php.notes 
Request: Send a blank email to php-notes+get-121472@lists.php.net to get a copy of this message
Note the example code listed here calls date() every time this is called. If you have a complex source base which calls the custom error handler often, it can end up taking quite a bit of time. I ran a profiler on som code and discovered that 50% of the time was spent in the date function in this error handler. ---- Server IP: 216.194.113.175 Probable Submitter: 24.119.133.72 ---- Manual Page -- http://www.php.net/manual/en/ref.errorfunc.php Edit -- https://master.php.net/note/edit/72238 Del: integrated -- https://master.php.net/note/delete/72238/integrated Del: useless -- https://master.php.net/note/delete/72238/useless Del: bad code -- https://master.php.net/note/delete/72238/bad+code Del: spam -- https://master.php.net/note/delete/72238/spam Del: non-english -- https://master.php.net/note/delete/72238/non-english Del: in docs -- https://master.php.net/note/delete/72238/in+docs Del: other reasons-- https://master.php.net/note/delete/72238 Reject -- https://master.php.net/note/reject/72238 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#121472) next »