phpday 2027 - Call for Papers

Iterator::next

(PHP 5, PHP 7, PHP 8)

Iterator::next — Move forward to next element

Опис

public function Iterator::next(): void

Moves the current position to the next element.

Зауваження:

This method is called after each foreach loop.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Any returned value is ignored.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top