note 104749 added to class.errorexception

From: Date: Tue, 05 Jul 2011 14:23:10 +0000
Subject: note 104749 added to class.errorexception
Groups: php.notes 
Request: Send a blank email to php-notes+get-181253@lists.php.net to get a copy of this message
vog at notjusthosting dot com: The example code is correct. Notice that the third argument to Error_Exception is "Severity". That's what the example is passing the error number as. Which is correct if you think about it. The error level (E_NOTICE for example) is the Severity, not its code. For PHP errors, there is no error code. Hence why 0 is passed in instead. ---- Server IP: 208.69.120.55 Probable Submitter: 64.210.199.233 ---- Manual Page -- http://www.php.net/manual/en/class.errorexception.php Edit -- https://master.php.net/note/edit/104749 Del: integrated -- https://master.php.net/note/delete/104749/integrated Del: useless -- https://master.php.net/note/delete/104749/useless Del: bad code -- https://master.php.net/note/delete/104749/bad+code Del: spam -- https://master.php.net/note/delete/104749/spam Del: non-english -- https://master.php.net/note/delete/104749/non-english Del: in docs -- https://master.php.net/note/delete/104749/in+docs Del: other reasons-- https://master.php.net/note/delete/104749 Reject -- https://master.php.net/note/reject/104749 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#181253) next »