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
 
<GearmanClient::setFailCallbackGearmanClient::setStatusCallback>
^GearmanClientLast updated: Mon, 26 Oct 2026

GearmanClient::setOptions

(PECL gearman >= 0.5.0)

GearmanClient::setOptions — Set client options

Description

public function GearmanClient::setOptions(int $option): bool

Sets one or more client options.

Parameters

option

The options to be set

Return Values

Always returns true.


<GearmanClient::setFailCallbackGearmanClient::setStatusCallback>
^GearmanClientLast updated: Mon, 26 Oct 2026