Logo

PCNTL Functions

pcntl_alarm pcntl_async_signals pcntl_errno pcntl_exec pcntl_fork pcntl_get_last_error pcntl_getpriority pcntl_setpriority pcntl_signal pcntl_signal_dispatch pcntl_signal_get_handler pcntl_sigprocmask pcntl_sigtimedwait pcntl_sigwaitinfo pcntl_strerror pcntl_unshare pcntl_wait pcntl_waitpid pcntl_wexitstatus pcntl_wifexited pcntl_wifsignaled pcntl_wifstopped pcntl_wstopsig pcntl_wtermsig

pcntl_sigprocmask

Supported Versions: PHP 5 >= 5.3.0, PHP 7, PHP 8
Sets and retrieves blocked signals
<?php pcntl_sigprocmask(int $mode, array $signals, array &$old_signals = null): bool