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
 
<GearmanTask::functionGearmanTask::isKnown>
^GearmanTaskLast updated: Mon, 26 Oct 2026

GearmanTask::functionName

(PECL gearman >= 0.6.0)

GearmanTask::functionName — Get associated function name

Description

public function GearmanTask::functionName(): false|string

Returns the name of the function this task is associated with, i.e., the function the Gearman worker calls.

Parameters

This function has no parameters.

Return Values

A function name, or false if the task has not yet been created.


<GearmanTask::functionGearmanTask::isKnown>
^GearmanTaskLast updated: Mon, 26 Oct 2026