Five authors have joined effort to make this very informative document about PHP 5 Exception. An informal document to describe usage guidelines for exceptions in PHP5. A document targeted for package developers, although it will be relevant for anyone integrating PHP5 PEAR packages into their applications.

This document is an RFC, aiming to specify error handling in PHP5. The upcoming release of PHP5, introducing Exception handling mechanisms, prompted PEAR to revise coding guidelines in respect to error handling.

It is important to refer that this document does not address handling of warnings or notices. It is felt that a solution for warning treatment may be different from error handling. Inclusion of warning processing could introduce too much noise into the discussion of the error handling issue and is therefore
postponed.