Swoole\Runtime::getHookFlags

Get current hook flags

説明

public static int Swoole\Runtime::getHookFlags()

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.