PEAR_PackageUpdate::popError – Pops an error off the error stack.


require_once 'PEAR/PackageUpdate.php';

array PEAR_PackageUpdate::popError ( )


Pops an error off the error stack.

This method is just for collecting errors that occur while checking for updates and updating a package. The child class is responsible for displaying all errors and handling them properly. This is because the way errors are handled varies greatly depending on the driver used.


since 0.4.0a1

This function can not be called statically.

Return value

array - details of an error or warning (with debug context if available).

Updates the source for the package. (Previous) Returns whether or not errors have occurred (and been captured). (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.