PHP Velho Oeste 2024

Iterator::next

(PHP 5, PHP 7, PHP 8)

Iterator::next次の要素に進む

説明

public Iterator::next(): void

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

注意:

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

パラメータ

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

戻り値

戻り値は無視されます。

add a note add a note

User Contributed Notes 1 note

up
-1
al
8 years ago
Builtin PHP function is »next«.
To Top