php8.5
Home/ Manual/ gearman / gearmantask/ GearmanTask::sendData

GearmanTask::sendData

PHP function Edit on GitHub ✎

(PECL gearman <= 0.5.0)

Send data for a task (deprecated)

Description

GearmanTask::sendData(string $data): int

Func

Parameters

data

Data to send to the worker.

Return Values

The length of data sent, or false if the send failed.

See Also

  • GearmanTask::recvData

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