PHP - Manual: ZMQContext::isPersistent
2024-12-22
(PECL zmq >= 0.5.0)
ZMQContext::isPersistent — Whether the context is persistent
Whether the context is persistent. Persistent context is needed for persistent connections as each socket is allocated from a context.
此函数没有参数。
Returns true
if the context is persistent and false
if the context is non-persistent.
官方地址:https://www.php.net/manual/en/zmqcontext.ispersistent.php