betterCode() PHP 2025

Swoole\Runtime::getHookFlags

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

Swoole\Runtime::getHookFlagsGet current hook flags

说明

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

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

参数

This function has no parameters.

返回值

Returns the current hook flags as a bitmask.

add a note

User Contributed Notes

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