PHP - Manual: swoole_event_del
2024-11-15
(PECL swoole >= 1.9.0)
swoole_event_del — Remove all event callback functions of a socket
$fd
): bool
fd
成功时返回 true
, 或者在失败时返回 false
。
官方地址:https://www.php.net/manual/en/function.swoole-event-del.php