PEAR_ErrorStack::hasErrors()

PEAR_ErrorStack::hasErrors() -- Determine whether there are any errors on the stack

Referentiesamenvatting

require_once 'PEAR/ErrorStack.php';

boolean PEAR_ErrorStack::hasErrors ([string $level = false])

Beschrijving

Determine whether there are any errors on the stack

Parameter

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

Deze functie kan niet statisch worden aangeroepen.