PHP.nl

pcntl_wifexited

pcntl_wifexited

Checks if status code represents a normal exit

bool **pcntl_wifexited** int $status

Checks whether the child status code represents a normal exit.

status

Returns true if the child status code represents a normal exit, false otherwise.

pcntl_waitpid``pcntl_wexitstatus