PHP 8.1.0 RC 2 available for testing

IteratorIterator::key

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

IteratorIterator::keyGet the key of the current element

Descrição

public IteratorIterator::key(): mixed

Get the key of the current element.

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

The key of the current element.

Veja Também

add a note add a note

User Contributed Notes

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