note 39811 deleted from ref.errorfunc by nlopess
| From: | nlopess@php.net | Date: | Sat, 03 Apr 2004 18:47:02 +0000 |
| Subject: | note 39811 deleted from ref.errorfunc by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-67585@lists.php.net to get a copy of this message | ||
Note Submitter: geert@kemuri.org
----
From PHP 4.3.4 Source (main/main.c):
The errors like they are printed/logged. Not sure if it elsewhere mentioned in the Docs:
switch (type) {
case E_ERROR:
case E_CORE_ERROR:
case E_COMPILE_ERROR:
case E_USER_ERROR:
error_type_str = "Fatal error";
break;
case E_WARNING:
case E_CORE_WARNING:
case E_COMPILE_WARNING:
case E_USER_WARNING:
error_type_str = "Warning";
break;
case E_PARSE:
error_type_str = "Parse error";
break;
case E_NOTICE:
case E_USER_NOTICE:
error_type_str = "Notice";
break;
default:
error_type_str = "Unknown error";
break;
}