Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Swoole\Runtime::enableCoroutineSwoole\Runtime::setHookFlags>
^Swoole\RuntimeLast updated: Mon, 26 Oct 2026

Swoole\Runtime::getHookFlags

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

Swoole\Runtime::getHookFlags — Get current hook flags

Description

public static function Swoole\Runtime::getHookFlags(): int

Gets the current hook flags. Note that the returned flags might differ from what was set if some hooks failed.

Parameters

This function has no parameters.

Return Values

Returns the current hook flags as a bitmask.


<Swoole\Runtime::enableCoroutineSwoole\Runtime::setHookFlags>
^Swoole\RuntimeLast updated: Mon, 26 Oct 2026