Forum und email

pcntl_wifexited

(PHP 4 >= 4.0.7, PHP 5)

pcntl_wifexited — Checks if status code represents a normal exit

說明

bool pcntl_wifexited ( int $status )

Checks whether the child status code represents a normal exit.

åƒæ•¸

status

status åƒæ•¸æ˜¯æä¾›çµ¦æˆåŠŸå‘¼å«çš„ pcntl_waitpid() 函å¼çš„ç‹€æ…‹åƒæ•¸ã€‚

Return值

Returns TRUE if the child status code represents a normal exit, FALSE otherwise.