array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'cachingiterator.hasnext.php', 1 => 'CachingIterator::hasNext', 2 => 'Check whether the inner iterator has a valid next element', ), 'up' => array ( 0 => 'class.cachingiterator.php', 1 => 'CachingIterator', ), 'prev' => array ( 0 => 'cachingiterator.getflags.php', 1 => 'CachingIterator::getFlags', ), 'next' => array ( 0 => 'cachingiterator.key.php', 1 => 'CachingIterator::key', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/cachingiterator/hasnext.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

CachingIterator::hasNext

(PHP 5, PHP 7, PHP 8)

CachingIterator::hasNextCheck whether the inner iterator has a valid next element

Descrizione

public CachingIterator::hasNext(): bool
Avviso

Questa funzione, al momento non è documentata; è disponibile soltanto la lista degli argomenti.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

Restituisce true in caso di successo, false in caso di fallimento.