← All docs

pcntl_wifexited()

Reports whether a child wait status represents normal termination.

pcntl_wifexited()

function pcntl_wifexited(int $status): bool

Reports whether a child wait status represents normal termination.

Parameters:

  • $status (int)

Returns: bool

Availability

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how pcntl_wifexited is implemented in the compiler, see the internals page.