(PHP 5, PHP 7)
CachingIterator::__construct — Construct a new CachingIterator object for the iterator.
$iterator
$flags
This function is currently not documented; only its argument list is available.
iterator
Iterator to cache
flags
Bitmask of flags.