[doc-en] master: Document SIGINT and SIGQUIT in register_shutdown_function note (#6113)

From: Date: Thu, 19 Nov 2026 08:36:04 +0000
Subject: [doc-en] master: Document SIGINT and SIGQUIT in register_shutdown_function note (#6113)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23982@lists.php.net to get a copy of this message
Author: Louis-Arnaud (lacatoire) Committer: GitHub (web-flow) Pusher: lacatoire Date: 2026-11-19T09:36:00+01:00 Commit: https://github.com/php/doc-en/commit/edc5e6be66ba998a34c557ee0ea9cd9f9855dddd Raw diff: https://github.com/php/doc-en/commit/edc5e6be66ba998a34c557ee0ea9cd9f9855dddd.diff Document SIGINT and SIGQUIT in register_shutdown_function note (#6113) * Document SIGINT and SIGQUIT in register_shutdown_function note * Use simpara for the signals note Changed paths: M reference/funchand/functions/register-shutdown-function.xml Diff: diff --git a/reference/funchand/functions/register-shutdown-function.xml b/reference/funchand/functions/register-shutdown-function.xml index dc799e3f005c..5f57302d3876 100644 --- a/reference/funchand/functions/register-shutdown-function.xml +++ b/reference/funchand/functions/register-shutdown-function.xml @@ -108,12 +108,12 @@ register_shutdown_function('shutdown'); </para> </note> <note> - <para> - Shutdown functions will not be executed if the process is killed with a SIGTERM - or SIGKILL signal. While you cannot intercept a SIGKILL, you can use <function>pcntl_signal</function> - to install a handler for a SIGTERM which uses <function>exit</function> to + <simpara> + Shutdown functions will not be executed if the process is killed with a SIGINT, + SIGQUIT, SIGTERM or SIGKILL signal. While you cannot intercept a SIGKILL, you can use <function>pcntl_signal</function> + to install a handler for the other signals which uses <function>exit</function> to end cleanly. - </para> + </simpara> </note> <note> <para>

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