php8.5
Home/ Manual/ gearman / gearmanworker/ GearmanWorker::echo

GearmanWorker::echo

PHP function Edit on GitHub ✎

(PECL gearman >= 0.6.0)

Test job server response

Description

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

  • GearmanClient::echo

Source: reference/gearman/gearmanworker/echo.xml · from the official PHP manual (php/doc-en)