pcntl_wexitstatus

Example

 int pcntl_wexitstatus ( int $status ) 

Description

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

Return Values

Returns the return code, as an integer.