note 104679 deleted from class.errorexception by danbrown
| From: | danbrown@php.net | Date: | Thu, 30 Jun 2011 13:43:00 +0000 |
| Subject: | note 104679 deleted from class.errorexception by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-181102@lists.php.net to get a copy of this message | ||
Note Submitter: giso at connectholland dot nl
----
vog at notjusthosting dot com (see previous message) is wrong.
The class synopsis and the example code is correct.
The second argument ($code) is an Exception code, not a E_* level.
The E_* level, which is in $errno, should be past as third argument ($severity)