Thanks to visit codestin.com Credit goes to www.php.net
(PECL gearman >= 0.5.0)
GearmanTask::returnCode — Get the last return code
Returns the last Gearman return code for this task.
This function has no parameters.
A valid Gearman return code.