pcntl_signal_get_handler
reactphp/event-loop
Supported Versions: PHP 7 >= 7.1.0, PHP 8
Get the current handler for specified signal
<?php pcntl_signal_get_handler
(
int $signal
): callable|
int