编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Swoole\Timer::after
  • Swoole\Timer::exists »
  • PHP Manual
  • Swoole\Timer
  • Delete a timer by timer ID.

Swoole\Timer::clear

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Timer::clear — Delete a timer by timer ID.

说明

public static Swoole\Timer::clear ( integer $timer_id ) : void

Delete a timer by timer ID.

参数

timer_id

返回值

相关文章
php swoole the swoole http client classphp swoole the swoole timer classphp swoole 函数 check if a timer callback function is existedphp swoole 函数 trigger a timer tick callback function by time intervalphp intldateformatter get the timezone id used for the intldateformatterphp solrclient delete by idphp swoole async read file stream asynchronously.php swoole buffer read data from the memory buffer based on offset and length.php swoole client check if the connection is established.php swoole connection iterator check if offet exists.php swoole coroutine descriptionphp swoole process high precision timer which triggers signal with fixed interval.php swoole server bind the connection to a user defined user id.php swoole server stop and destory a timer.php swoole server send message to worker processes by id.php swoole table delete a row in the swoole table by $row key.php swoole timer trigger a callback function after a period of time.php swoole timer delete a timer by timer id.php swoole timer check if a timer is existed.php swoole timer repeats a given function at every given time interval.
关注编程学问公众号
编程学问网 湘ICP备20001732号