<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.gearmanclient.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'gearmanclient.echo.php',
    1 => 'GearmanClient::echo',
    2 => 'Send data to all job servers to see if they echo it back [deprecated]',
  ),
  'up' => 
  array (
    0 => 'class.gearmanclient.php',
    1 => 'GearmanClient',
  ),
  'prev' => 
  array (
    0 => 'gearmanclient.dostatus.php',
    1 => 'GearmanClient::doStatus',
  ),
  'next' => 
  array (
    0 => 'gearmanclient.error.php',
    1 => 'GearmanClient::error',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/gearman/gearmanclient/echo.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="gearmanclient.echo" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">GearmanClient::echo</h1>
  <p class="verinfo">(PECL gearman &gt;= 0.5.0)</p><p class="refpurpose"><span class="refname">GearmanClient::echo</span> &mdash; <span class="dc-title">Send data to all job servers to see if they echo it back [deprecated]</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-gearmanclient.echo-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>GearmanClient::echo</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$workload</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="simpara">
   The <span class="methodname"><strong>GearmanClient::echo()</strong></span> method is deprecated as of
   pecl/gearman 1.0.0. Use <span class="methodname"><a href="gearmanclient.ping.php" class="methodname">GearmanClient::ping()</a></span>.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-gearmanclient.echo-parameters">
  <h3 class="title">Parameters</h3>
  <dl>
   
    <dt><code class="parameter">workload</code></dt>
    <dd>
     <span class="simpara">
      Some arbitrary serialized data to be echo back
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-gearmanclient.echo-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="simpara">
   Returns <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> on success or <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> on failure.
  </p>
 </div>


</div><?php manual_footer($setup); ?>