← All docs

pcntl_wstopsig()

Returns the stopping signal encoded in a child wait status.

pcntl_wstopsig()

function pcntl_wstopsig(int $status): mixed

Returns the stopping 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_wstopsig is implemented in the compiler, see the internals page.