Mention PHP constants have no meaning outside of PHP,

and show the value 2147483647 as a possible E_ALL alternative :)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@230480 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2007-02-22 01:30:41 +00:00
parent 8433603ce1
commit 6d85befbe4

View file

@ -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>,