[DOC-CVS] [doc-en] master: ini: Document fatal_error_backtraces (#5452)
[email protected] (hakre via GitHub) Tue, 9 Jun 2026 18:44:10 +0000
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: hakre (hakre)
Committer: GitHub (web-flow)
Pusher: jordikroon
Date: 2026-06-09T20:44:07+02:00
Commit: https://github.com/php/doc-en/commit/c7b445ec851969e669026cfa483b104ea2de5d95
Raw diff: https://github.com/php/doc-en/commit/c7b445ec851969e669026cfa483b104ea2de5d95.diff
ini: Document fatal_error_backtraces (#5452)
Changed paths:
M appendices/migration85/other-changes.xml
M reference/errorfunc/ini.xml
Diff:
diff --git a/appendices/migration85/other-changes.xml b/appendices/migration85/other-changes.xml
index 7905a7b187b2..715b1440d86e 100644
--- a/appendices/migration85/other-changes.xml
+++ b/appendices/migration85/other-changes.xml
@@ -401,8 +401,9 @@
<title>Core</title>
<simpara>
- Added fatal_error_backtraces to control whether fatal errors should include
- a backtrace.
+ Added <link
+ linkend="ini.fatal-error-backtraces">fatal_error_backtraces</link> to
+ control whether fatal errors should include a backtrace.
<!-- RFC: https://wiki.php.net/rfc/error_backtraces_v2 -->
</simpara>
diff --git a/reference/errorfunc/ini.xml b/reference/errorfunc/ini.xml
index b0dfb357bf4a..9e6a812003e5 100644
--- a/reference/errorfunc/ini.xml
+++ b/reference/errorfunc/ini.xml
@@ -22,6 +22,14 @@
<entry><constant>INI_ALL</constant></entry>
<entry></entry>
</row>
+ <row>
+ <entry><link linkend="ini.fatal-error-backtraces">fatal_error_backtraces</link></entry>
+ <entry>"1"</entry>
+ <entry><constant>INI_ALL</constant></entry>
+ <entry>
+ Available as of PHP 8.5.0
+ </entry>
+ </row>
<row>
<entry><link linkend="ini.display-errors">display_errors</link></entry>
<entry>"1"</entry>
@@ -197,6 +205,24 @@
</note>
</listitem>
</varlistentry>
+
+ <varlistentry xml:id="ini.fatal-error-backtraces">
+ <term>
+ <parameter>fatal_error_backtraces</parameter>
+ <type>bool</type>
+ </term>
+ <listitem>
+ <simpara>
+ Controls whether fatal errors should include a backtrace.
+ Fatal errors are <constant>E_ERROR</constant>,
+ <constant>E_CORE_ERROR</constant>, <constant>E_COMPILE_ERROR</constant>,
+ <constant>E_USER_ERROR</constant>,
+ <constant>E_RECOVERABLE_ERROR</constant>, and
+ <constant>E_PARSE</constant>.
+ </simpara>
+ </listitem>
+ </varlistentry>
+
<varlistentry xml:id="ini.display-errors">
<term>
<parameter>display_errors</parameter>