Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<ZMQSocketExceptionZMQPoll::add>
^0MQ messagingLast updated: Mon, 26 Oct 2026

The ZMQPoll class

(PECL zmq >= 0.5.0)

Introduction

Class synopsis

class ZMQPoll {
/* Methods */
public function add(mixed $entry, int $type): string
public function clear(): ZMQPoll
public function count(): int
public function getLastErrors(): array
public function poll(array &$readable, array &$writable, int $timeout = -1): int
public function remove(mixed $item): bool
}

Table of Contents


<ZMQSocketExceptionZMQPoll::add>
^0MQ messagingLast updated: Mon, 26 Oct 2026