note 9660 added to set_error_handler
| From: | marten at hellointeractive dot tv | Date: | Fri, 17 Nov 2000 10:38:20 +0000 |
| Subject: | note 9660 added to set_error_handler | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7806@lists.php.net to get a copy of this message | ||
To find out if the expression responsible for the error was prepended by a @. Simply check the
return value of error_reporting() in your error handler. If the return value is 0 (zero) then the
expression had an @ in front of it.
http://www.php.net/manual/function.set-error-handler.php