Most of E_STRICT are raised at the compile time (bug #31919)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@179747 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2005-02-14 09:02:44 +00:00
parent 009d44bfcf
commit 85e5332941
2 changed files with 8 additions and 3 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.11 $ -->
<!-- $Revision: 1.12 $ -->
<!-- splitted from ./en/functions/errorfunc.xml, last change in rev 1.1 -->
<refentry id="function.error-reporting">
<refnamediv>
@ -160,6 +160,10 @@ ini_set('error_reporting', E_ALL);
With PHP &gt; 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>.
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.
</simpara>
</warning>
<para>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.25 $ -->
<!-- $Revision: 1.26 $ -->
<!-- splitted from ./en/functions/errorfunc.xml, last change in rev 1.1 -->
<refentry id="function.set-error-handler">
<refnamediv>
@ -118,7 +118,8 @@
<constant>E_CORE_ERROR</constant>, <constant>E_CORE_WARNING</constant>,
<constant>E_COMPILE_ERROR</constant>,
<constant>E_COMPILE_WARNING</constant>, and
<constant>E_STRICT</constant>.
most of <constant>E_STRICT</constant> raised in the file where
<function>set_error_handler</function> is called.
</para>
</note>
<para>