<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.eio.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'function.eio-get-last-error.php',
    1 => 'eio_get_last_error',
    2 => 'Returns string describing the last error associated with a request resource',
  ),
  'up' => 
  array (
    0 => 'ref.eio.php',
    1 => 'Eio Functions',
  ),
  'prev' => 
  array (
    0 => 'function.eio-get-event-stream.php',
    1 => 'eio_get_event_stream',
  ),
  'next' => 
  array (
    0 => 'function.eio-grp.php',
    1 => 'eio_grp',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/eio/functions/eio-get-last-error.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.eio-get-last-error" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">eio_get_last_error</h1>
  <p class="verinfo">(PECL eio &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">eio_get_last_error</span> &mdash; <span class="dc-title">Returns string describing the last error associated with a request resource</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.eio-get-last-error-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>eio_get_last_error</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$req</code></span>): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

  <p class="simpara">
   <span class="function"><strong>eio_get_last_error()</strong></span> returns string describing the last error associated with <code class="parameter">req</code>.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.eio-get-last-error-parameters">
  <h3 class="title">Parameters</h3>
  <dl>
   
    <dt><code class="parameter">req</code></dt>
    <dd>
     <span class="simpara">
     The request resource.
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.eio-get-last-error-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="simpara">
   <span class="function"><strong>eio_get_last_error()</strong></span> returns string describing the last error associated with the request resource specified by <code class="parameter">req</code>.
  </p>
  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">This function is
<em>EXPERIMENTAL</em>. The behaviour of this function, its name, and
surrounding documentation may change without notice in a future release of PHP.
This function should be used at your own risk.
</p></div>
 </div>

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