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
keyAn 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.