CakeFest 2024: The Official CakePHP Conference

IteratorIterator::key

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

IteratorIterator::key現在の要素のキーを取得する

説明

public IteratorIterator::key(): mixed

現在の要素のキーを取得します。

パラメータ

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

戻り値

現在の要素のキーを返します。

参考

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top