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.

Determine whether there are any errors on any error stack (Previous) Remove a callback from every error callback stack (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.