From 6d85befbe4b08b40de457b464f865fd5a3c99c9f Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Thu, 22 Feb 2007 01:30:41 +0000 Subject: [PATCH] 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 --- reference/errorfunc/ini.xml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/reference/errorfunc/ini.xml b/reference/errorfunc/ini.xml index d3da408d29..f9716536fa 100644 --- a/reference/errorfunc/ini.xml +++ b/reference/errorfunc/ini.xml @@ -1,5 +1,5 @@ - +
&reftitle.runtime; &extension.runtime; @@ -164,6 +164,18 @@ deprecated functions. + + PHP Constants outside of PHP + + Using PHP Constants outside of PHP, like in httpd.conf, + will have no useful meaning so in such cases the integer values + are required. And since error levels will be added over time, the maximum + value (for E_ALL) will likely change. So in place of + E_ALL consider using a larger value to cover all bit + fields from now and well into the future, a numeric value like + 2147483647. + + In PHP 3, the default setting is (E_ERROR | E_WARNING | E_PARSE),