note 104517 deleted from class.errorexception by danbrown
| From: | danbrown@php.net | Date: | Mon, 20 Jun 2011 14:15:06 +0000 |
| Subject: | note 104517 deleted from class.errorexception by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-180677@lists.php.net to get a copy of this message | ||
Note Submitter: chris AT cmbuckley DOT co DOT uk
----
@vog: The example is correct.
$code is the Exception code as returned by getCode(), and is set to 0 in the example.
$errno contains the level of the error raised (E_WARNING === 2 in the example), which corresponds to
the $severity parameter of the constructor.