PEAR_ErrorStack::staticHasErrors PEAR_ErrorStack::staticPopCallback

PEAR_ErrorStack

PEAR Manual


PEAR_ErrorStack::staticPop

PEAR_ErrorStack::staticPop() -- Static version of pop()

Synopsis

    require_once 'PEAR/ErrorStack.php';
   

false|array PEAR_ErrorStack::staticPop ( string $package )

Description

Pop an error off of the error stack, static method

Parameter

string $package

Package name to retrieve error message from

Return value

returns if compatibility mode is on, a PEAR_Error is also thrown.

Note

since PEAR 1.5.0a1

Throws

No exceptions thrown.

Note

This function should be called statically.



PEAR_ErrorStack::staticHasErrors PEAR_ErrorStack::staticPopCallback

PEAR_ErrorStack

PEAR Manual