PEAR_ErrorStack::getErrors()

PEAR_ErrorStack::getErrors() -- Retrieve all errors since last purge

Synopsis

Описание

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.

Параметр

boolean $purge

set in order to empty the error stack

string $level

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

throws no exceptions thrown

Заметка

Эта функция не должна вызываться статически.

    Поддержать сайт на родительском проекте КГБ