Метод |
Описание |
|
backtrace ( $print = false, $options = false, $limit ) : array | void |
Generates a backtrace and returns an array of associative
arrays or prints to stdout. The possible returned elements
are as follows: function, line, file, class, object, type
and args. |
|
handler ( $type = 'error', $action = 'restore', $callable_handler = false, $error_types = null ) |
Sets or restores either the error or exception handler
based on the $type and $action parameters. |
|
last ( ) : array |
Get the last occurred error and returns an associative
array describing the last error with keys "type", "message",
"file" and "line". If the error has been caused by a PHP
internal function then the "message" begins with its name. |
|
log ( $message, $message_type, $destination = '', $extra_headers = '' ) |
Send an error message to the defined error handling
routines. Returns true on success or false on failure. |
|
raise ( $error_msg, $error_type = E_USER_NOTICE ) : boolean |
Generates a user-level error/warning/notice message. |
|
reporting ( $level = false ) : integer |
Sets which PHP errors are reported or returns the old
error_reporting level or the current level if no level
parameter is given. |
|