array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'gearmanclient.addoptions.php', 1 => 'GearmanClient::addOptions', ), 'up' => array ( 0 => 'class.gearmanclient.php', 1 => 'GearmanClient', ), 'prev' => array ( 0 => 'class.gearmanclient.php', 1 => 'GearmanClient', ), 'next' => array ( 0 => 'gearmanclient.addserver.php', 1 => 'GearmanClient::addServer', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gearman/gearmanclient/addoptions.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL gearman >= 0.6.0)
GearmanClient::addOptions — Add client options
Adds one or more options to those already set.
option
The options to add.
One of the following constants, or a combination of
them using the bitwise OR operator (|
):
GEARMAN_CLIENT_GENERATE_UNIQUE
,
GEARMAN_CLIENT_NON_BLOCKING
,
GEARMAN_CLIENT_UNBUFFERED_RESULT
or
GEARMAN_CLIENT_FREE_TASKS
.
Always returns true
.