cvs: phpdoc /en/reference/errorfunc constants.xml ini.xml

From: Date: Mon, 01 Dec 2003 11:52:55 +0000
Subject: cvs: phpdoc /en/reference/errorfunc constants.xml ini.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969357130@lists.php.net to get a copy of this message
betz Mon Dec 1 06:52:55 2003 EDT Modified files: /phpdoc/en/reference/errorfunc constants.xml ini.xml Log: bugfix #26472 E_STRICT added default values for error_reporting bitmask allows xor in php.ini Index: phpdoc/en/reference/errorfunc/constants.xml diff -u phpdoc/en/reference/errorfunc/constants.xml:1.8 phpdoc/en/reference/errorfunc/constants.xml:1.9 --- phpdoc/en/reference/errorfunc/constants.xml:1.8 Tue Jun 10 12:53:37 2003 +++ phpdoc/en/reference/errorfunc/constants.xml Mon Dec 1 06:52:54 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <section id="errorfunc.constants"> &reftitle.constants; &extension.constants.core; @@ -172,8 +172,22 @@ <entry>PHP 4 only</entry> </row> + <row id="e-strict"> + <entry>2048</entry> + <entry> + <constant>E_STRICT</constant> + (<type>integer</type>) + </entry> + <entry> + Run-time notices. Enable to have PHP suggest changes + to your code which will ensure the best interoperability + and forward compatability of your code. + </entry> + <entry>PHP 5 only</entry> + </row> + <row id="e-all"> - <entry>2047</entry> + <entry>4095</entry> <entry> <constant>E_ALL</constant> (<type>integer</type>) @@ -181,6 +195,7 @@ <entry> All errors and warnings, as supported. </entry> + <entry>With PHP &gt;= 5.0.0 the value changed from 2047 to 4095.</entry> </row> </tbody> @@ -192,7 +207,7 @@ up a bitmask that specifies which errors to report. You can use the <link linkend="language.operators.bitwise">bitwise operators</link> to combine these values or mask out certain types of errors. Note - that only '|', '~', '!', and '&amp;' will be understood within + that only '|', '~', '!', ^ and '&amp;' will be understood within &php.ini;, however, and that no bitwise operators will be understood within <filename>php3.ini</filename>. </para> Index: phpdoc/en/reference/errorfunc/ini.xml diff -u phpdoc/en/reference/errorfunc/ini.xml:1.14 phpdoc/en/reference/errorfunc/ini.xml:1.15 --- phpdoc/en/reference/errorfunc/ini.xml:1.14 Mon Jun 9 16:41:23 2003 +++ phpdoc/en/reference/errorfunc/ini.xml Mon Dec 1 06:52:54 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> +<!-- $Revision: 1.15 $ --> <section id="errorfunc.configuration"> &reftitle.runtime; &extension.runtime; @@ -17,7 +17,7 @@ <tbody> <row> <entry>error_reporting</entry> - <entry>E_ALL &amp; ~E_NOTICE</entry> + <entry>E_ALL &amp; ~E_NOTICE &amp; ~E_STRICT</entry> <entry>PHP_INI_ALL</entry> </row> <row> @@ -122,7 +122,14 @@ <link linkend="ini.display-errors">display_errors</link> directive. </para> <para> - In PHP 4 the default value does not show <constant>E_NOTICE</constant> + In PHP 4 the default value is E_ALL &amp; ~E_NOTICE. This setting does + not show <constant>E_NOTICE</constant> level errors. You may want to + show them during development. + </para> + <para> + In PHP 5 <constant>E_STRICT</constant> is introduced. The default value + is E_ALL &amp; ~E_NOTICE &amp; ~E_STRICT. This setting does not show + errors <constant>E_NOTICE</constant> and <constant>E_STRICT</constant> level errors. You may want to show them during development. </para> <note>

« previous php.doc (#969357130) next »