Function

register_shutdown_function

Synopsis

register_shutdown_function(mixed): void

Area
Runtime\PS\Core\Shutdown\register_shutdown_functionareas

Description

register_shutdown_function runs $callback after the script finishes, including after exit or an execution error, in registration order.

Usage

$value = register_shutdown_function($arguments);
$fn = register_shutdown_function(...);

See also