lovchy Mon May 24 09:34:24 2004 EDT
Modified files:
/phpdoc/en/appendices migration5.xml
Log:
Error Reporting section added
http://cvs.php.net/diff.php/phpdoc/en/appendices/migration5.xml?r1=1.16&r2=1.17&ty=u
Index: phpdoc/en/appendices/migration5.xml
diff -u phpdoc/en/appendices/migration5.xml:1.16
phpdoc/en/appendices/migration5.xml:1.17
--- phpdoc/en/appendices/migration5.xml:1.16 Sun May 23 12:30:39 2004
+++ phpdoc/en/appendices/migration5.xml Mon May 24 09:34:23 2004
@@ -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>
@@ -1666,6 +1666,22 @@
</example>
</section>
+ </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>