(PECL gearman >= 0.6.0)
GearmanWorker::echo — Test job server response
public 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.
workload
Arbitrary serialized data
Standard Gearman return value.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gearmanworker.echo.php