php / 8.1.5 / gearmantask.returncode.html /

GearmanTask::returnCode

(PECL gearman >= 0.5.0)

GearmanTask::returnCodeGet the last return code

Description

public GearmanTask::returnCode(): int

Returns the last Gearman return code for this task.

Parameters

This function has no parameters.

Return Values

A valid Gearman return code.

See Also

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gearmantask.returncode.php