cvs: phpdoc /en/reference/errorfunc/functions error-reporting.xml
| From: | Jakub Vrana | Date: | Fri, 26 Jan 2007 10:24:54 +0000 |
| Subject: | cvs: phpdoc /en/reference/errorfunc/functions error-reporting.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969375035@lists.php.net to get a copy of this message | ||
vrana Fri Jan 26 10:24:54 2007 UTC
Modified files:
/phpdoc/en/reference/errorfunc/functions error-reporting.xml
Log:
Changelog, new E_ALL, vice versa compile errors
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/errorfunc/functions/error-reporting.xml?r1=1.15&r2=1.16&diff_format=u
Index: phpdoc/en/reference/errorfunc/functions/error-reporting.xml
diff -u phpdoc/en/reference/errorfunc/functions/error-reporting.xml:1.15
phpdoc/en/reference/errorfunc/functions/error-reporting.xml:1.16
--- phpdoc/en/reference/errorfunc/functions/error-reporting.xml:1.15 Thu Jun 8 11:19:12 2006
+++ phpdoc/en/reference/errorfunc/functions/error-reporting.xml Fri Jan 26 10:24:53 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.15 $ -->
+<!-- $Revision: 1.16 $ -->
<!-- splitted from ./en/functions/errorfunc.xml, last change in rev 1.1 -->
<refentry id="function.error-reporting">
<refnamediv>
@@ -117,7 +117,7 @@
</entry>
</row>
<row>
- <entry>2047</entry>
+ <entry>6143</entry>
<entry>
<link linkend="e-all">E_ALL</link>
</entry>
@@ -152,6 +152,36 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>5.0.0</entry>
+ <entry><constant>E_STRICT</constant> introduced (not part of
<constant>E_ALL</constant>).</entry>
+ </row>
+ <row>
+ <entry>5.2.0</entry>
+ <entry><constant>E_RECOVERABLE_ERROR</constant> introduced.</entry>
+ </row>
+ <row>
+ <entry>6</entry>
+ <entry><constant>E_STRICT</constant> became part of
<constant>E_ALL</constant>.</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -192,14 +222,10 @@
&reftitle.notes;
<warning>
<simpara>
- With PHP > 5.0.0 <constant>E_STRICT</constant> with value 2048 is
- available. <constant>E_ALL</constant> does <emphasis>NOT</emphasis>
- include error level <constant>E_STRICT</constant> (but in PHP 6 it does
- though).
Most of <constant>E_STRICT</constant> errors are evaluated at the
compile time thus such errors are not reported in the file where
<link linkend="ini.error-reporting">error_reporting</link> is enhanced
- to include <constant>E_STRICT</constant> errors.
+ to include <constant>E_STRICT</constant> errors (and vice versa).
</simpara>
</warning>
</refsect1>