PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

GearmanTask::create

(PECL gearman <= 0.5.0)

GearmanTask::createCreate a task (deprecated)

说明

public GearmanTask::create ( void ) : GearmanTask

Returns a new GearmanTask object.

Note:

This method was removed in the 0.6.0 version of the Gearman extension.

参数

此函数没有参数。

返回值

A GearmanTask oject 或者在失败时返回 FALSE.