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_wtermsig

Supported Versions: PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8
Returns the signal which caused the child to terminate
<?php pcntl_wtermsig(int $status): int|false