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::dataGearmanTask::function>
^GearmanTaskLast updated: Mon, 26 Oct 2026

GearmanTask::dataSize

(PECL gearman >= 0.5.0)

GearmanTask::dataSize — Get the size of returned data

Description

public function GearmanTask::dataSize(): int|false

Returns the size of the data being returned for a task.

Parameters

This function has no parameters.

Return Values

The data size, or false if there is no data.

See Also


<GearmanTask::dataGearmanTask::function>
^GearmanTaskLast updated: Mon, 26 Oct 2026