phpday 2027 - Call for Papers

Iterator::next

(PHP 5, PHP 7, PHP 8)

Iterator::next — 次の要素に進む

説明

public function Iterator::next(): void

現在位置を次の要素に移動します。

注意:

このメソッドは、各 foreach ループの 後 にコールされます。

パラメータ

この関数にはパラメータはありません。

戻り値

戻り値は無視されます。

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