array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'gearmanworker.unregister.php', 1 => 'GearmanWorker::unregister', ), 'up' => array ( 0 => 'class.gearmanworker.php', 1 => 'GearmanWorker', ), 'prev' => array ( 0 => 'gearmanworker.timeout.php', 1 => 'GearmanWorker::timeout', ), 'next' => array ( 0 => 'gearmanworker.unregisterall.php', 1 => 'GearmanWorker::unregisterAll', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gearman/gearmanworker/unregister.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL gearman >= 0.6.0)
GearmanWorker::unregister — Unregister a function name with the job servers
Unregisters a function name with the job servers ensuring that no more jobs (for that function) are sent to this worker.
function_name
The name of a function to register with the job server
A standard Gearman return value.