philip Thu Feb 22 01:30:41 2007 UTC
Modified files:
/phpdoc/en/reference/errorfunc ini.xml
Log:
Mention PHP constants have no meaning outside of PHP,
and show the value 2147483647 as a possible E_ALL alternative :)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/errorfunc/ini.xml?r1=1.31&r2=1.32&diff_format=u
Index: phpdoc/en/reference/errorfunc/ini.xml
diff -u phpdoc/en/reference/errorfunc/ini.xml:1.31
phpdoc/en/reference/errorfunc/ini.xml:1.32
--- phpdoc/en/reference/errorfunc/ini.xml:1.31 Mon May 15 12:18:00 2006
+++ phpdoc/en/reference/errorfunc/ini.xml Thu Feb 22 01:30:41 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.31 $ -->
+<!-- $Revision: 1.32 $ -->
<section id="errorfunc.configuration">
&reftitle.runtime;
&extension.runtime;
@@ -164,6 +164,18 @@
deprecated functions.
</para>
</note>
+ <note>
+ <title>PHP Constants outside of PHP</title>
+ <para>
+ Using PHP Constants outside of PHP, like in
<filename>httpd.conf</filename>,
+ will have no useful meaning so in such cases the <type>integer</type>
values
+ are required. And since error levels will be added over time, the
maximum
+ value (for <constant>E_ALL</constant>) will likely change. So in place
of
+ <constant>E_ALL</constant> consider using a larger value to cover all
bit
+ fields from now and well into the future, a numeric value like
+ <literal>2147483647</literal>.
+ </para>
+ </note>
<para>
In PHP 3, the default setting is
<literal>(E_ERROR | E_WARNING | E_PARSE)</literal>,