[doc-en] master: ini: Document fatal_error_backtraces (#5452)

From: Date: Tue, 09 Jun 2026 18:44:10 +0000
Subject: [doc-en] master: ini: Document fatal_error_backtraces (#5452)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23365@lists.php.net to get a copy of this message
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>

« previous php.doc.cvs (#23365) next »