PHP 8.4.2 Released!

ZMQPoll::remove

(PECL zmq >= 0.5.0)

ZMQPoll::removeRemove item from poll set

说明

public ZMQPoll::remove(mixed $item): bool

Remove item from the poll set. The item parameter can be ZMQSocket object, a stream resource or the id returned from ZMQPoll::add() method.

参数

item

The ZMQSocket object, PHP stream or string id of the item.

返回值

Returns true if the item was removed and false if the object with given id does not exist in the poll set.

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top