Home > PHP > Function > PCNTL > pcntl_wifsignaled()

pcntl_wifsignaled()

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

Syntax

bool pcntl_wifsignaled (int $status)

Arguments

  • status - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().

Description

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

Version

PHP 4.1.0, 5

Return value

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