pcntl_wexitstatus

 int pcntl_wexitstatus ( int $status ) 

説明

Returns the return code of a terminated child. This function is only useful if pcntl_wifexited() returned TRUE.

戻り値

Returns the return code, as an integer.