Error Reporting
Some of the existing E_ERROR
conditions have been
converted to something that can be caught with a user-defined error
handler. If an E_RECOVERABLE_ERROR
is not handled, it will behave in the same way as
E_ERROR
behaves in all versions of PHP. Errors of
this type are logged as Catchable fatal error.
This change means that the value of the E_ALL
error_reporting constant 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 the
httpd.conf or the
.htaccess files, 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 when
track_errors is
On, it is now necessary to return FALSE
from
user defined error handlers in order to populate
$php_errormsg. This
provides a fine-grain control over the levels of messages stored.
English translation
You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.
Thank you in advance.
Document created the 30/01/2003, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/php-rf-migration52.errorrep.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.