GearmanTask
PHP 手册

GearmanTask::data

(PECL gearman >= 0.5.0)

GearmanTask::dataGet data returned for a task

说明

public string GearmanTask::data ( void )

Returns data being returned for a task by a worker.

参数

此函数没有参数。

返回值

The serialized data, or FALSE if no data is present.

参见


GearmanTask
PHP 手册