Error Reporting

Some of the existingE_ERRORconditions have been converted to something that can be caught with a user-defined error handler. If anE_RECOVERABLE_ERRORis not handled, it will behave in the same way asE_ERRORbehaves in all versions of PHP. Errors of this type are logged asCatchable fatal error.

This change means that the value of theE_ALLerror_reportingconstant is now 6143, where the previous value was 2047. Because PHP constants have no meaning outside of PHP, in some cases the integer value is used instead so these will need to be adjusted. So for example by setting the error_reporting mode from either thehttpd.confor the.htaccessfiles, the value has to be changed accordingly. The same applies when the numeric values are used rather than the constants in PHP scripts.

As a side-effect of a change made to prevent duplicate error messages whentrack_errorsisOn, it is now necessary to returnFALSEfrom user defined error handlers in order to populate$php_errormsg. This provides a fine-grain control over the levels of messages stored.