← All docs

pcntl_async_signals()

Enables or queries automatic dispatch of pending signal callbacks.

pcntl_async_signals()

function pcntl_async_signals(bool $enable = null): bool

Enables or queries automatic dispatch of pending signal callbacks.

Parameters:

  • $enable (bool), default null, optional

Returns: bool

Availability

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

Internals

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