PCNTL Функции
PHP Manual

pcntl_wexitstatus

(PHP 4 >= 4.1.0, PHP 5)

pcntl_wexitstatusReturns the return code of a terminated child

Описание

int pcntl_wexitstatus ( int $status )

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

Параметри

status

Параметърът status е статус параметъра, който е наличен при успешно извикване на pcntl_waitpid().

Връщани стойности

Returns the return code, as an integer.

Вж. също


PCNTL Функции
PHP Manual