cvs: phpdoc /en/appendices migration4.xml
| From: | Friedhelm Betz | Date: | Tue, 08 Oct 2002 11:11:46 +0000 |
| Subject: | cvs: phpdoc /en/appendices migration4.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969349050@lists.php.net to get a copy of this message | ||
betz Tue Oct 8 07:11:46 2002 EDT
Modified files:
/phpdoc/en/appendices migration4.xml
Log:
integrated warning from error-handling, forgot this one
Index: phpdoc/en/appendices/migration4.xml
diff -u phpdoc/en/appendices/migration4.xml:1.24 phpdoc/en/appendices/migration4.xml:1.25
--- phpdoc/en/appendices/migration4.xml:1.24 Sun Jun 16 03:10:59 2002
+++ phpdoc/en/appendices/migration4.xml Tue Oct 8 07:11:46 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.24 $ -->
+<!-- $Revision: 1.25 $ -->
<appendix id="migration4">
<title>Migrating from PHP 3 to PHP 4</title>
@@ -215,6 +215,16 @@
<literal>error_reporting= E_ALL & ~ ( E_NOTICE | E_WARNING
)</literal>.
</para>
+ <warning>
+ <para>
+ When upgrading code or servers from PHP 3 to PHP 4 you should
+ check these settings and calls to
+ <function>error_reporting</function> or you might disable
+ reporting the new error types, especially E_COMPILE_ERROR. This
+ may lead to empty documents without any feedback of what happened
+ or where to look for the problem.
+ </para>
+ </warning>
<warning>
<para>
Using the old values 7 and 15 for setting up error reporting is