php8.5
Home/ Manual/ zmq / zmqcontext/ ZMQContext::isPersistent

ZMQContext::isPersistent

PHP function Edit on GitHub ✎

(PECL zmq >= 0.5.0)

Whether the context is persistent

Description

ZMQContext::isPersistent(): bool

Whether the context is persistent. Persistent context is needed for persistent connections as each socket is allocated from a context.

Parameters Parameters

Return Values

Returns true if the context is persistent and false if the context is non-persistent.

Source: reference/zmq/zmqcontext/ispersistent.xml · from the official PHP manual (php/doc-en)