array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'cachingiterator.construct.php', 1 => 'CachingIterator::__construct', ), 'up' => array ( 0 => 'class.cachingiterator.php', 1 => 'CachingIterator', ), 'prev' => array ( 0 => 'class.cachingiterator.php', 1 => 'CachingIterator', ), 'next' => array ( 0 => 'cachingiterator.count.php', 1 => 'CachingIterator::count', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/cachingiterator/construct.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
CachingIterator::__construct — Construct a new CachingIterator object for the iterator
$iterator
, int $flags
= CachingIterator::CALL_TOSTRING)This function is currently not documented; only its argument list is available.
iterator
Iterator to cache
flags
Bitmask of flags.