PHP - Manual: ZMQContext::getOpt
2025-02-27
(PECL zmq >= 1.0.4)
ZMQContext::getOpt — Get context option
$key
Returns the value of a context option.
key
An integer representing the option. See the ZMQ::CTXOPT_* constants.
ZMQ::CTXOPT_*
Returns either a string or an int depending on key. Throws ZMQContextException on error.
官方地址:https://www.php.net/manual/en/zmqcontext.getopt.php