Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<GearmanJob::sendExceptionGearmanJob::sendStatus>
^GearmanJobLast updated: Mon, 26 Oct 2026

GearmanJob::sendFail

(PECL gearman >= 0.6.0)

GearmanJob::sendFail — Send fail status

Description

public function GearmanJob::sendFail(): bool

Sends failure status for this job, indicating that the job failed in a known way (as opposed to failing due to a thrown exception).

Parameters

This function has no parameters.

Return Values

Returns true on success or false on failure.

See Also


<GearmanJob::sendExceptionGearmanJob::sendStatus>
^GearmanJobLast updated: Mon, 26 Oct 2026