Error Handling Guidelines for PHP5 packages
Table of Contents
- Audience
- Definition of error
- Error Signaling in PHP5 PEAR packages
- Exceptions and normal program flow
- Exception class hierarchies
- Documenting Exceptions
- Exceptions as part of the API
This document defines guidelines for error handling within PEAR, for PHP5 packages. It was written to cope with Exceptions, introduced in Zend Engine 2 as the error handling mechanism. The final objective is to integrate the document text into the PEAR Coding Guidelines.
This RFC has been ratified in PEPr as » proposal #132.




