Search Results

  1. As its name implies, NoRewindIterator doesn't invoke the "rewind" method when It reaches the end of the iterator. Let's demonstrate it by two examles. In this example the "rewind" method will be invoked after when the "foreache" reaches its end, so, we can repeat printing the same values as many times as we want: <?PHP

  2. NoRewindIterator::__construct — Construct a NoRewindIterator NoRewindIterator::current — Get the current value NoRewindIterator::key — Get the current key NoRewindIterator::next — Forward to the next element NoRewindIterator::rewind — Prevents the rewind operation on the inner iterator NoRewindIterator::valid — Validates the iterator

  3. Construit un nouvel objet NoRewindIterator. Méthode PHP NoRewindIterator::__construct.

  4. (PHP 5 >= 5.1.0, PHP 7, PHP 8) NoRewindIterator::__construct — Construct a NoRewindIterator

  5. Table of Contents NoRewindIterator::__construct — Construct a NoRewindIterator NoRewindIterator::current — Get the current value NoRewindIterator::getInnerIterator — Get the inner iterator NoRewindIterator::key — Get the current key NoRewindIterator::next — Forward to the next element

  6. NoRewindIterator::__construct — Construct a NoRewindIterator NoRewindIterator::current — Get the current value NoRewindIterator::key — Get the current key NoRewindIterator::next — Forward to the next element NoRewindIterator::rewind — Prevents the rewind operation on the inner iterator NoRewindIterator::valid — Validates the iterator

  7. {"payload":{"allShortcutsEnabled":false,"fileTree":{"reference/spl/norewinditerator":{"items":[{"name":"construct.xml","path":"reference/spl/norewinditerator ...