As of PEAR 1.3.2,
PEAR_ErrorStack no longer instantiates
and returns an Exception object in PHP5,
and the second-to-last parameter has been removed.
Code that relies upon this behavior will break.
Description
Note that all parameters are ignored if the
stack for package $package has already been instantiated
Parameter
string
$package
name of the package this error stack represents
callback
$msgCallback
callback used for error message generation
callback
$contextCallback
callback used for context generation, defaults to getFileLine()