首页 话题 小组 问答 好文 用户 我的社区 域名交易 唠叨

[函数]Swoole\Server::clearTimer()函数—用法及示例

发布于 2025-05-10 00:01:53
0
89

适用版本(PECL swoole >= 1.9.0)

Swoole\Server::clearTimer -- swoole_timer_clear — 停止并销毁计时器。
说明 ¶
面向对象风格 (method):

public Swoole\Server::clearTimer(int $timer_id): void

过程化风格:

swoole_timer_clear(int $timer_id): void

停止并销毁计时器

参数
timer_id
返回值
评论
一个月内的热帖推荐
啊龙
Lv.1普通用户

9545

帖子

31

小组

3242

积分

赞助商广告
站长交流