(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.
iteratorIterator to cache
flagsBitmask of flags.