note 105322 deleted from class.errorexception by danbrown
| From: | danbrown@php.net | Date: | Tue, 09 Aug 2011 14:37:11 +0000 |
| Subject: | note 105322 deleted from class.errorexception by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-182364@lists.php.net to get a copy of this message | ||
Note Submitter: outis
----
@vog: there's no contradiction. The $errno argument to an error handler is the error level, not
an error code. It corresponds to the $severity argument of ErrorException::__construct. $errno could
use a better name, such as $errlvl, but its meaning is documented on the set_error_handler page
(http://php.net/set_error_handler).