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::__constructGearmanWorker::error>
^GearmanWorkerLast updated: Mon, 26 Oct 2026

GearmanWorker::echo

(PECL gearman >= 0.6.0)

GearmanWorker::echo — Test job server response

Description

public function GearmanWorker::echo(string $workload): bool

Sends data to all job servers to see if they echo it back. This is a test function to see if job servers are responding properly.

Parameters

workload

Arbitrary serialized data

Return Values

Standard Gearman return value.

See Also


<GearmanWorker::__constructGearmanWorker::error>
^GearmanWorkerLast updated: Mon, 26 Oct 2026