CachingIterator::getCache キャッシュの内容を取得する &reftitle.description; public arrayCachingIterator::getCache キャッシュの内容を取得します。 CachingIterator::FULL_CACHE フラグを使う必要があります。 &reftitle.parameters; &no.function.parameters; &reftitle.returnvalues; キャッシュの内容を含む配列を返します。 &reftitle.errors; CachingIterator::FULL_CACHE フラグを使っていない場合に BadMethodCallException をスローします。 &reftitle.examples; <methodname>CachingIterator::getCache</methodname> の例 next(); $cache->next(); var_dump($cache->getCache()); $cache->next(); var_dump($cache->getCache()); ?> ]]> &example.outputs; int(1) [1]=> int(2) } array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3) } ]]>