← All docs

pcntl_wtermsig()

Returns the terminating signal encoded in a child wait status.

pcntl_wtermsig()

function pcntl_wtermsig(int $status): mixed

Returns the terminating signal encoded in a child wait status.

Parameters:

  • $status (int)

Returns: mixed

Availability

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

Internals

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