pcntl_wexitstatus
pcntl_wexitstatus
Returns the return code of a terminated child
**pcntl_wexitstatus** int $status
Returns the return code of a terminated child. This function is
only useful if returned
true.
pcntl_wifexited
status
Returns the return code. If the functionality is not supported by the OS, false is returned.
pcntl_waitpid``pcntl_wifexited