Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 22 additions & 4 deletions reference/errorfunc/ini.xml
Original file line number Diff line number Diff line change
Expand Up @@ -208,16 +208,34 @@
This determines whether errors should be printed to the screen
as part of the output or if they should be hidden from the user.
</para>
<simpara>
Possible Values:
</simpara>
<para>
Value <literal>"stderr"</literal> sends the errors to <literal>stderr</literal>
instead of <literal>stdout</literal>.
The accepted values are:
<simplelist>
<member>
<literal>Off</literal>: do not display any errors.
</member>
<member>
<literal>On</literal> or <literal>stdout</literal>: display errors to <literal>stdout</literal>. This is the default.
</member>
<member>
<literal>stderr</literal>: display errors to <literal>stderr</literal>. Only effective for the <literal>CLI,</literal><literal>phpdbg</literal>and<literal>CGI</literal> SAPIs.
</member>
</simplelist>
</para>
<note>
<para>
<simpara>
This is a feature to support your development and should never be used
on production systems (e.g. systems connected to the internet).
</para>
</simpara>
</note>
<simpara>
The bundled <literal>php.ini-development</literal> sets this to
<literal>On</literal>; <literal>php.ini-production</literal> sets
it to <literal>Off</literal>.
</simpara>
<note>
<para>
Although display_errors may be set at runtime (with <function>ini_set</function>),
Expand Down