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 @@ Core - Added fatal_error_backtraces to control whether fatal errors should include - a backtrace. + Added fatal_error_backtraces to + control whether fatal errors should include a backtrace. diff --git a/reference/errorfunc/ini.xml b/reference/errorfunc/ini.xml index c10661d09894..287fdb828df6 100644 --- a/reference/errorfunc/ini.xml +++ b/reference/errorfunc/ini.xml @@ -22,6 +22,14 @@ INI_ALL + + fatal_error_backtraces + "1" + INI_ALL + + Available as of PHP 8.5.0 + + display_errors "1" @@ -198,6 +206,23 @@ + + + fatal_error_backtraces + bool + + + + Controls whether fatal errors should include a backtrace. + Fatal errors are E_ERROR, + E_CORE_ERROR, E_COMPILE_ERROR, + E_USER_ERROR, + E_RECOVERABLE_ERROR, and + E_PARSE. + + + + display_errors