Read work or result data into a buffer for a task

# GearmanTask::recvData

(PECL gearman >= 0.5.0)

GearmanTask::recvData — Read work or result data into a buffer for a task

### 说明

public function GearmanTask::recvData(int `$data_len`): false|array

警告

此函数是实验性的。此函数的表象，包括名称及其相关文档都可能在未来的 PHP 发布版本中未通知就被修改。使用本函数风险自担。

### 参数

`data_len`
  Length of data to be read.

### 返回值

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

### 参见

- GearmanTask::sendData() - Send data for a task (deprecated)

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open