array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'class.cachingiterator.php', 1 => 'CachingIterator', ), 'up' => array ( 0 => 'spl.iterators.php', 1 => 'Iterators', ), 'prev' => array ( 0 => 'arrayiterator.valid.php', 1 => 'ArrayIterator::valid', ), 'next' => array ( 0 => 'cachingiterator.construct.php', 1 => 'CachingIterator::__construct', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/cachingiterator.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.cachingiterator.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
This object supports cached iteration over another iterator.
CachingIterator::CALL_TOSTRING
Convert every element to string.
CachingIterator::CATCH_GET_CHILD
Don't throw exception in accessing children.
CachingIterator::TOSTRING_USE_KEY
Use key for conversion to string.
CachingIterator::TOSTRING_USE_CURRENT
Use current for conversion to string.
CachingIterator::TOSTRING_USE_INNER
Use inner for conversion to string.
CachingIterator::FULL_CACHE
Cache all read data.
Version | Description |
---|---|
8.0.0 | CachingIterator implements Stringable now. |