PHP Conference Ehime 2026

Swoole\Timer::clearAll

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

Swoole\Timer::clearAllClear all timers in the current process.

说明

public static function Swoole\Timer::clearAll(): bool

Clear all timers in the current process. As of Swoole 4.4.0.

返回值

成功时返回 true, 或者在失败时返回 falsefalse is returned when no timer has been created in this process yet. Only timers created from PHP are removed; internal timers are left in place.

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top