PHP.nl

pcntl_wifsignaled

pcntl_wifsignaled

Checks whether the status code represents a termination due to a signal

bool **pcntl_wifsignaled** int $status

Checks whether the child process exited because of a signal which was not caught.

status

Returns true if the child process exited because of a signal which was not caught, false otherwise.

pcntl_waitpid``pcntl_signal