PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

GearmanTask::recvData

(PECL gearman >= 0.5.0)

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

Description

public array GearmanTask::recvData ( int $data_len )

Warning

This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.

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

PHP Manual