philip Sun Jul 14 16:06:56 2002 EDT
Modified files:
/phpdoc/en/chapters config.xml
Log:
* Removed constant description table, see error handling section (and php.ini).
* May use named constants too
* For runtime, see error_reporting().
* See also display_errors directive
* Default does not show E_NOTICE, you may want to show them during development
Index: phpdoc/en/chapters/config.xml
diff -u phpdoc/en/chapters/config.xml:1.67 phpdoc/en/chapters/config.xml:1.68
--- phpdoc/en/chapters/config.xml:1.67 Sat Jul 13 20:21:34 2002
+++ phpdoc/en/chapters/config.xml Sun Jul 14 16:06:55 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.67 $ -->
+<!-- $Revision: 1.68 $ -->
<chapter id="configuration">
<title>Configuration</title>
@@ -356,40 +356,17 @@
</term>
<listitem>
<para>
- Set the error reporting level. The parameter is an integer
- representing a bit field. Add the values of the error
- reporting levels you want.
- <table>
- <title>Error Reporting Levels</title>
- <tgroup cols="2">
- <thead>
- <row>
- <entry>bit value</entry>
- <entry>enabled reporting</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>1</entry>
- <entry>normal errors</entry>
- </row>
- <row>
- <entry>2</entry>
- <entry>normal warnings</entry>
- </row>
- <row>
- <entry>4</entry>
- <entry>parser errors</entry>
- </row>
- <row>
- <entry>8</entry>
- <entry>non-critical style-related warnings</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- The default value for this directive is 7 (normal errors,
- normal warnings and parser errors are shown).
+ Set the error reporting level. The parameter is either an integer
+ representing a bit field, or named constants. The error_reporting
+ levels and constants are described in the
+ <link linkend="features.error-handling">Error Handling</link> section
+ of the manual, and in &php.ini;. To set at runtime, use the
+ <function>error_reporting</function> function. See also the
+ <link linkend="ini.display-errors">display_errors</link> directive.
+ </para>
+ <para>
+ The default value does not show <constant>E_NOTICE</constant> level
+ errors. You may want to show them during development.
</para>
</listitem>
</varlistentry>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php