note 47404 added to function.set-error-handler
| From: | JuhazOne at osu1 dot php dot net | Date: | Mon, 15 Nov 2004 18:06:26 +0000 |
| Subject: | note 47404 added to function.set-error-handler | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-80549@lists.php.net to get a copy of this message | ||
I just had an idea.
What if you could catch errors like "function not defined" and include the correct file to
define them and then continue from the line where the error occurred?
That would solve an old problem: if you autoload everything, it takes time, if you don't you
have to remember to load manually every piece of code you need.
----
Manual Page -- http://www.php.net/manual/en/function.set-error-handler.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+47404
Delete -- http://master.php.net/manage/user-notes.php?action=delete+47404&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47404&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47404&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47404&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47404&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47404&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+47404&report=yes
Search -- http://master.php.net/manage/user-notes.php