Php/docs/gearmantask.create

来自菜鸟教程
跳转至:导航、​搜索

GearmanTask::create

(PECL gearman <= 0.5.0)

GearmanTask::createCreate a task (deprecated)


说明

public GearmanTask::create ( ) : GearmanTask|false

Returns a new GearmanTask object.

Note:

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

参数

此函数没有参数。


返回值

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