Error Reporting section added

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@159505 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Boris Bezrukov 2004-05-24 13:34:23 +00:00
parent 78ec3be99b
commit f40751d832

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.16 $ -->
<!-- $Revision: 1.17 $ -->
<appendix id="migration5">
<title>Migrating from PHP 4 to PHP 5</title>
@ -1668,6 +1668,22 @@ reflection_extension::export('standard');
</section>
<section id='migrating5.errorrep'>
<title>Error Reporting</title>
<para>
As of &php; 5 new error reporting constant E_STRICT was introduced with
value 2048. It enables run-time PHP suggestions on your code
interoperability and forward compatibility, that will help you to keep
latest and greatest suggested method of coding. E.g. STRICT message will
warn you on using deprecated functions.
</para>
<note>
<simpara>
E_ALL does not include E_STRICT so it's not enabled by default
</simpara>
</note>
</section>
</appendix>