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

GearmanTask::recvData

PHP function Edit on GitHub ✎

(PECL gearman >= 0.5.0)

Read work or result data into a buffer for a task

Description

GearmanTask::recvData(int $data_len): false|array

Func

Parameters

data_len

Length of data to be read.

Return Values

An array whose first element is the length of data read and the second is the data buffer. Returns false if the read failed.

See Also

  • GearmanTask::sendData

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