phpday 2027 - Call for Papers

IteratorIterator::key

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

IteratorIterator::key — Get the key of the current element

Опис

public function IteratorIterator::key(): mixed

Get the key of the current element.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

The key of the current element.

Прогляньте також

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