rfc:enhanced_error_handling
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:enhanced_error_handling [2010/01/10 16:13] – kampfcaspar | rfc:enhanced_error_handling [2011/04/06 10:59] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Request for Comments: Enhanced Error Handling ====== | ====== Request for Comments: Enhanced Error Handling ====== | ||
- | * Version: 0.4 | + | * Version: 0.5 |
- | * Date: 2010-01-07 | + | * Date: 2010-01-10 |
* Author: | * Author: | ||
* Status: | * Status: | ||
Line 33: | Line 33: | ||
The goal would be to create a framework in which | The goal would be to create a framework in which | ||
* the //PHP user// decides, what kind of error reaction he wishes; that includes | * the //PHP user// decides, what kind of error reaction he wishes; that includes | ||
- | * having | + | * having |
- | * a minimal inheritance of error behaviours, such that different extensions and/or resource objects might be configured to react differently. | + | * a minimal |
- | * offers a C-level API for compiled extensions as well as a PHP-level API for frameworks in that language. | + | * offers a //C-level API// for compiled extensions as well as a //PHP-level API// for frameworks in that language. |
- | * can be used in OOP as well as non-OOP situations. | + | * can be used in //OOP// as well as //non-OOP// situations. |
- | Such goals can only be achieved under the side condition of complete backwards compatibility. Default behaviour of | + | |
+ | Such goals can only be achieved under the side condition of //complete backwards compatibility//. Default behaviour of | ||
existing php and extensions must not be changed - all existing error behaviour must be mappable. | existing php and extensions must not be changed - all existing error behaviour must be mappable. | ||
Line 60: | Line 61: | ||
Existing extensions use their error mechanisms not only to issue grave errors, but also to | Existing extensions use their error mechanisms not only to issue grave errors, but also to | ||
transport mere " | transport mere " | ||
- | both an //error and a //warning call should be supplied. The latter - ignoring all configuration - | + | both an //error// and a //warning// call should be supplied. The latter - ignoring all configuration - |
choosing Suppress or Monitor as appropraiate action. | choosing Suppress or Monitor as appropraiate action. | ||
rfc/enhanced_error_handling.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1