PEAR_ErrorStack::staticPop()

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

Synopsis

require_once 'PEAR/ErrorStack.php';

false|array PEAR_ErrorStack::staticPop (chaîne de caractères $package)

Description

Pop an error off of the error stack, static method

Paramètres

chaîne de caractères $package

Package name to retrieve error message from

Valeur retournée

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

Note

since PEAR 1.5.0a1

Valeurs renvoyées

Aucune exception n'est lancée.

Note

Cette fonction devrait être appelée de façon statique.