Home
My Account
About us
Products
Support Services
Buy online
Downloads
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
PHP Manual
0MQ messaging
Installing/Configuring
ZMQ
ZMQException
ZMQContext
ZMQContextException
ZMQSocket
ZMQSocketException
ZMQPoll
ZMQPollException
ZMQDevice
ZMQDeviceException
ZMQSocketException
ZMQPoll::add
0MQ messaging
Last 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
ZMQPoll::add
— Add item to the poll set
ZMQPoll::clear
— Clear the poll set
ZMQPoll::count
— Count items in the poll set
ZMQPoll::getLastErrors
— Get poll errors
ZMQPoll::poll
— Poll the items
ZMQPoll::remove
— Remove item from poll set
ZMQSocketException
ZMQPoll::add
0MQ messaging
Last updated: Mon, 26 Oct 2026