Swoole\Runtime::getHookFlags

Get current hook flags

Description

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.

Parameters

This function has no parameters.

Return Values

Returns the current hook flags as a bitmask.