# GearmanTask::returnCode

(PECL gearman >= 0.5.0)

GearmanTask::returnCode — Get the last return code

### 说明

public GearmanTask::returnCode(): int

Returns the last Gearman return code for this task.

### 参数

此函数没有参数。

### 返回值

A valid Gearman return code.

### 参见

- GearmanClient::returnCode() - Get the last Gearman return code

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open