GearmanTask::recvData

(PECL gearman >= 0.5.0)

GearmanTask::recvDataRead work or result data into a buffer for a task

说明

public GearmanTask::recvData ( int $data_len ) : array

Warning

此函数是实验性的。此函数的表象,包括名称及其相关文档都可能在未来的 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.

参见

User Contributed Notes

There are no user contributed notes for this page.