Join 4,000+ others and never miss out on new tips, tutorials, and more.
Latest version:
pecl install openswoole-22.1.2 | composer require openswoole/core:22.1.5
<?php OpenSwoole\Timer::stats()
Stats of the active Timers within the worker process
Get stats of all the currently active timers within the worker process.
OpenSwoole >= v4.4.0 is required
<?php
array(3) {
["initialized"]=>
bool(true)
["num"]=>
int(1000)
["round"]=>
int(1)
}