Skip to content

Commit 9733798

Browse files
committed
ini.fatal-error-backtraces
1 parent 5778b68 commit 9733798

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed

appendices/migration85/other-changes.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,9 @@
401401
<title>Core</title>
402402

403403
<simpara>
404-
Added fatal_error_backtraces to control whether fatal errors should include
405-
a backtrace.
404+
Added <link
405+
linkend="ini.fatal-error-backtraces">fatal_error_backtraces</link> to
406+
control whether fatal errors should include a backtrace.
406407
<!-- RFC: https://wiki.php.net/rfc/error_backtraces_v2 -->
407408
</simpara>
408409

reference/errorfunc/ini.xml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@
2222
<entry><constant>INI_ALL</constant></entry>
2323
<entry></entry>
2424
</row>
25+
<row>
26+
<entry><link linkend="ini.fatal-error-backtraces">fatal_error_backtraces</link></entry>
27+
<entry>"1"</entry>
28+
<entry><constant>INI_ALL</constant></entry>
29+
<entry>
30+
Available as of PHP 8.5.0
31+
</entry>
32+
</row>
2533
<row>
2634
<entry><link linkend="ini.display-errors">display_errors</link></entry>
2735
<entry>"1"</entry>
@@ -198,6 +206,26 @@
198206
</listitem>
199207
</varlistentry>
200208

209+
<varlistentry xml:id="ini.fatal-error-backtraces">
210+
<term>
211+
<parameter>fatal_error_backtraces</parameter>
212+
<type>bool</type>
213+
</term>
214+
<listitem>
215+
<simpara>
216+
Controls whether fatal errors should include a backtrace.
217+
Fatal errors are <constant>E_ERROR</constant>,
218+
<constant>E_CORE_ERROR</constant>, <constant>E_COMPILE_ERROR</constant>,
219+
<constant>E_USER_ERROR</constant>,
220+
<constant>E_RECOVERABLE_ERROR</constant>, and
221+
<constant>E_PARSE</constant>.
222+
</simpara>
223+
<simpara>
224+
The default value is <literal>"1"</literal>.
225+
</simpara>
226+
</listitem>
227+
</varlistentry>
228+
201229
<varlistentry xml:id="ini.display-errors">
202230
<term>
203231
<parameter>display_errors</parameter>

0 commit comments

Comments
 (0)