pcntl_wifexited

(PHP 4 >= 4.1.0, PHP 5, PHP 7)
Checks if status code represents a normal exit
bool pcntl_wifexited ( int $status )

Checks whether the child status code represents a normal exit.

Parameters:
status

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

Returns:

Returns TRUE if the child status code represents a normal exit, FALSE otherwise.

See also:

pcntl_waitpid() -

pcntl_wexitstatus() -

doc_php
2016-02-24 16:05:13
Comments
Leave a Comment

Please login to continue.