pcntl_wifexited
PHP function
Edit on GitHub ✎
(PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8)
Checks if status code represents a normal exit
Description
pcntl_wifexited(int $status): bool
Checks whether the child status code represents a normal exit.
Parameters
statusStatus
Return Values
Returns true if the child status code represents a normal exit, false otherwise.