« Iterator
Iterator::key »

Iterator::current

(PHP 5, PHP 7, PHP 8)

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

説明

public function Iterator::current(): mixed

現在の要素を返します。

パラメータ

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

戻り値

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

関連キーワード:
Iterator   current   mixed
関連する関数・ページ:
iterator.key   iterator.next   iterator.valid   mongodb-bson-iterator.rewind   class.mongodb-bson-iterator   mongodb-bson-iterator.current