PHP 8.5.0 Alpha 4 available for testing

Swoole\Runtime::setHookFlags

(No version information available, might only be in Git)

Swoole\Runtime::setHookFlagsSet hook flags for coroutine

Beschreibung

public static Swoole\Runtime::setHookFlags(int $flags): bool

Sets the hook flags for coroutine support. This dynamically changes the hook flags at runtime.

Parameter-Liste

flags

Bitmask of flags specifying which functions to hook. Same flags as enableCoroutine.

Rückgabewerte

Gibt bei Erfolg true zurück. Bei einem Fehler wird false zurückgegeben.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top