PEAR_ErrorStack::getErrorMessageTemplate | PEAR_ErrorStack::getFileLine |
PEAR_ErrorStack | |
PEAR Manual | |
require_once 'PEAR/ErrorStack.php'; |
array PEAR_ErrorStack::getErrors (
boolean $purge = FALSE
, string|false $level = FALSE
)
Retrieve all errors since last purge, or filter all errors and only return errors of a particular error level, leaving the rest on the stack.
set in order to empty the error stack
Level name to check for a particular severity. Use this to determine whether only a particular class of errors has occurred, such as whether any warnings have occurred (errors will be ignored)
throws no exceptions thrown
This function can not be called statically.
PEAR_ErrorStack::getErrorMessageTemplate | PEAR_ErrorStack::getFileLine |
PEAR_ErrorStack | |
PEAR Manual | |