Iterator::current
PHP Manual
PHP Manual»Iterator»Iterator::current

Iterator::current

(PHP 5, PHP 7, PHP 8)

Iterator::current現在の要素を返す

説明

public function Iterator::current(): mixed

現在の要素を返します。

パラメータ

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

戻り値

あらゆる型を返すことが可能です。

To Top