rfc:engine_exceptions
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
rfc:engine_exceptions [2013/12/07 15:44] – nikic | rfc:engine_exceptions [2013/12/10 13:52] – Fix numbers (this is about engine, but I've been using total counts) nikic | ||
---|---|---|---|
Line 309: | Line 309: | ||
==== Not all errors converted ==== | ==== Not all errors converted ==== | ||
- | PHP currently (master on 2013-10-24) contains the following number of fatal-y errors: | + | The Zend Engine |
< | < | ||
- | E_ERROR: | + | E_ERROR: |
- | E_CORE_ERROR: | + | E_CORE_ERROR: |
- | E_COMPILE_ERROR: | + | E_COMPILE_ERROR: |
E_PARSE: | E_PARSE: | ||
- | E_RECOVERABLE_ERROR: | + | E_RECOVERABLE_ERROR: |
</ | </ | ||
- | The patch attached to the RFC currently | + | The count was obtained using '' |
- | Some errors are easy to change to exceptions, others are more complicated. Some are nigh impossible, like the memory limit or execution time limit errors. The '' | + | The patch attached to the RFC currently (as of 2013-10-24) removes 70 '' |
+ | |||
+ | Some errors are easy to change to exceptions, others are more complicated. Some are impossible, like the memory limit or execution time limit errors. The '' | ||
Converting most existing errors will take some time and in the meantime we'll be in a situation where some part of the errors were converted to exceptions but another part stays fatal. From a user perspective it may not be immediately clear when one is used over the other. | Converting most existing errors will take some time and in the meantime we'll be in a situation where some part of the errors were converted to exceptions but another part stays fatal. From a user perspective it may not be immediately clear when one is used over the other. |
rfc/engine_exceptions.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1