phpday 2027 - Call for Papers

ZMQContext::isPersistent

(PECL zmq >= 0.5.0)

ZMQContext::isPersistent — Whether the context is persistent

说明

public function ZMQContext::isPersistent(): bool

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.

用户贡献的备注

此页面尚无用户贡献的备注。
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top