Swoole\Runtime::getHookFlagsGet 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. ParametersThis function has no parameters. Return ValuesReturns the current hook flags as a bitmask. |