ZMQContext::__constructConstruct a new ZMQContext object Beschreibung
ZMQContext::__construct
([ integer
$io_threads = 1
[, boolean $is_persistent = true
]] )Constructs a new ZMQ context. The context is used to initialize sockets. A persistent context is required to initialize persistent sockets. Parameter-Liste
Beispiele
Beispiel #1 A ZMQContext example Construct a new context and allocate request socket from it
<?phpRückgabewerteThrows ZMQContextException if context initialization fails. |