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
 
<GearmanClient::contextGearmanClient::do>
^GearmanClientLast updated: Mon, 26 Oct 2026

GearmanClient::data

(PECL gearman <= 0.5.0)

GearmanClient::data — Get the application data (deprecated)

Description

public function GearmanClient::data(): string

Get the application data previously set with GearmanClient::setData().

Note:

This method was replaced by GearmanClient::setContext() in the 0.6.0 release of the Gearman extension.

Parameters

This function has no parameters.

Return Values

The same string data set with GearmanClient::setData()

See Also


<GearmanClient::contextGearmanClient::do>
^GearmanClientLast updated: Mon, 26 Oct 2026