PHP 7.0.6 Released

GearmanClient::returnCode

(PECL gearman >= 0.5.0)

GearmanClient::returnCodeGet the last Gearman return code

Description

public int GearmanClient::returnCode ( void )

Returns the last Gearman return code.

Parameters

This function has no parameters.

Return Values

A valid Gearman return code.

User Contributed Notes

stanislav dot reshetnev at gmail dot com
1 year ago
Valid return codes are:

GEARMAN_SUCCESS
GEARMAN_PAUSE
GEARMAN_IO_WAIT
GEARMAN_WORK_STATUS
GEARMAN_WORK_DATA
GEARMAN_WORK_EXCEPTION
GEARMAN_WORK_WARNING
GEARMAN_WORK_FAIL

Given from php_gearman.c version 0.8.3.
To Top