PEAR Manual
This manual is provided as a courtesy. It is not an official source. Please check pear.php.net for updated information.
require_once 'PEAR.php';
void PEAR::PEAR (string [$errorClass = PEAR_Error])
void PEAR::PEAR
If you want to use the deconstructor functionality provide by PEAR, you have to call $this->PEAR() in the constructor of your class.
string $errorClass - the name of the error class to use.
This function can be called statically.