Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<GearmanWorker::timeoutGearmanWorker::unregisterAll>
^GearmanWorkerLast updated: Mon, 26 Oct 2026

GearmanWorker::unregister

(PECL gearman >= 0.6.0)

GearmanWorker::unregister — Unregister a function name with the job servers

Description

public function GearmanWorker::unregister(string $function_name): bool

Unregisters a function name with the job servers ensuring that no more jobs (for that function) are sent to this worker.

Parameters

function_name

The name of a function to register with the job server

Return Values

A standard Gearman return value.

See Also


<GearmanWorker::timeoutGearmanWorker::unregisterAll>
^GearmanWorkerLast updated: Mon, 26 Oct 2026