pcntl_signal_dispatch

PHP 5 >= 5.3.0, PHP 7, PHP 8
pcntl_signal_dispatch - Calls signal handlers for pending signals
Manual
Code Examples

Example #1 pcntl_signal_dispatch example

Result: Installing signal handler... Generating signal SIGHUP to self... Dispatching... signal handler called Done
PHP Version: