<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.appenditerator.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'appenditerator.current.php',
    1 => 'AppendIterator::current',
    2 => 'Gets the current value',
  ),
  'up' => 
  array (
    0 => 'class.appenditerator.php',
    1 => 'AppendIterator',
  ),
  'prev' => 
  array (
    0 => 'appenditerator.construct.php',
    1 => 'AppendIterator::__construct',
  ),
  'next' => 
  array (
    0 => 'appenditerator.getarrayiterator.php',
    1 => 'AppendIterator::getArrayIterator',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/spl/appenditerator/current.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="appenditerator.current" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">AppendIterator::current</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.1.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">AppendIterator::current</span> &mdash; <span class="dc-title">Gets the current value</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-appenditerator.current-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>AppendIterator::current</strong></span>(): <span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span></div>

  <p class="para rdfs-comment">
   Gets the current value.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-appenditerator.current-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">This function has no parameters.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-appenditerator.current-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   The current value if it is valid or <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> otherwise.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-appenditerator.current-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="methodname"><a href="iterator.current.php" class="methodname" rel="rdfs-seeAlso">Iterator::current()</a> - Return the current element</span></li>
    <li><span class="methodname"><a href="appenditerator.key.php" class="methodname" rel="rdfs-seeAlso">AppendIterator::key()</a> - Gets the current key</span></li>
    <li><span class="methodname"><a href="appenditerator.valid.php" class="methodname" rel="rdfs-seeAlso">AppendIterator::valid()</a> - Checks validity of the current element</span></li>
    <li><span class="methodname"><a href="appenditerator.next.php" class="methodname" rel="rdfs-seeAlso">AppendIterator::next()</a> - Moves to the next element</span></li>
    <li><span class="methodname"><a href="appenditerator.rewind.php" class="methodname" rel="rdfs-seeAlso">AppendIterator::rewind()</a> - Rewinds the Iterator</span></li>
   </ul>
  </p>
 </div>


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