register_shutdown_function
laravel/framework
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Register a function for execution on shutdown
register_shutdown_function
(callable
$callback
,
mixed
...
$args
): ?
bool
set_exception_handler
(
$this
->
forwardsTo
(
'handleException'
));
register_shutdown_function
(
$this
->
forwardsTo
(
'handleShutdown'
));
if (!
$app
->
environment
(
'testing'
)) {
ini_set
(
'display_errors'
,
'Off'
);
src/Illuminate/Foundation/Bootstrap/HandleExceptions.php