previousUsing PEAR_Exception for advanced error handling in PHP 5+ (Previous) (Next) Introduction to using PEAR_ErrorStack for advanced error handlingnext

View this page in Last updated: Tue, 02 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

PEAR_ErrorStack

Table of Contents

PEAR_ErrorStack is an experimental error raising and handling implementation for PEAR that is designed to replace PEAR_Error when it has stabilized. PEAR_ErrorStack is both backwards compatible with PEAR_Error and forward compatible with PHP 5's PEAR_Exception class. There are many other features, all described in the Introduction.

Usage:

1      // global error stack
2      $global_stack = &PEAR_ErrorStack::
singleton
('MyPackage');
3      // local error stack
4      $local_stack = new
PEAR_ErrorStack
('MyPackage');

previousUsing PEAR_Exception for advanced error handling in PHP 5+ (Previous) (Next) Introduction to using PEAR_ErrorStack for advanced error handlingnext

Download Documentation Last updated: Tue, 02 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.