Home > PHP > Function > PCNTL > pcntl_wifexited()

pcntl_wifexited()

pcntl_wifexited - Checks if status code represents a normal exit

Syntax

bool pcntl_wifexited (int $status)

Arguments

  • status - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().

Description

Checks whether the child status code represents a normal exit.

Version

PHP 4.1.0, 5

Return value

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