Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Swoole\Timer::clearSwoole\Timer::exists>
^Swoole\TimerLast updated: Mon, 26 Oct 2026

Swoole\Timer::clearAll

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

Swoole\Timer::clearAll — Clear all timers in the current process.

Description

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

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

Return Values

Returns true on success or false on failure. false 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.


<Swoole\Timer::clearSwoole\Timer::exists>
^Swoole\TimerLast updated: Mon, 26 Oct 2026