🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
[TOC] ## 实例 ``` $iterator = new ArrayIterator(['PHP', 'Python', 'Go']); $noIterator = new NoRewindIterator($iterator); foreach ($noIterator as $item) { echo $item.PHP_EOL; } // doesn't anything foreach ($noIterator as $item) { echo $item.PHP_EOL; } ```