Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 22174 программиста и 1557 роботов. Сейчас ищут 2053 программиста ...

PEAR_ErrorStack::getErrors

Вернуться к: PEAR_ErrorStack

PEAR_ErrorStack::getErrors

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

Synopsis

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.

Parameter

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

Note

This function can not be called statically.



Вернуться к: PEAR_ErrorStack

© 2024 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware