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

ZMQContext::getOpt

PHP function Edit on GitHub ✎

(PECL zmq >= 1.0.4)

Get context option

Description

ZMQContext::getOpt(string $key): mixed

Returns the value of a context option.

Parameters

key

An integer representing the option. See the ZMQ::CTXOPT_* constants.

Return Values

Returns either a String or an Integer depending on key. Throws ZMQContextException on error.

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