IteratorIterator
PHP Manual

IteratorIterator::key

(PHP 5 >= 5.1.0)

IteratorIterator::keyGet the key of the current element

Описание

public void IteratorIterator::key ( void )

Get the key of the current element.

Параметри

Тази функция няма параметри.

Връщани стойности

The key of the current element.

Вж. също


IteratorIterator
PHP Manual