* 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


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@88686 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2002-07-14 20:06:55 +00:00
parent 12ab1d6465
commit c6ae99a464

View file

@ -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 @@ include_path = ".;c:\php\lib"
</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>