PHP 5.5.20 is available

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.

add a note add a note

User Contributed Notes 1 note

up
0
stanislav dot reshetnev at gmail dot com
1 month 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