array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'limititerator.current.php', 1 => 'LimitIterator::current', ), 'up' => array ( 0 => 'class.limititerator.php', 1 => 'LimitIterator', ), 'prev' => array ( 0 => 'limititerator.construct.php', 1 => 'LimitIterator::__construct', ), 'next' => array ( 0 => 'limititerator.getposition.php', 1 => 'LimitIterator::getPosition', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'fr', 'path' => 'reference/spl/limititerator/current.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
LimitIterator::current — Récupère l'élément courant
Récupère l'élément courant de l'Iterator interne.
Cette fonction ne contient aucun paramètre.
L'élément courant ou null
si il n'y en a pas.