IteratorIterator
PHP Manual

IteratorIterator::key

(PHP 5 >= 5.1.0)

IteratorIterator::keyGet the key of the current element

Descripción

public void IteratorIterator::key ( void )

Get the key of the current element.

Parámetros

Esta función no tiene parámetros.

Valores devueltos

The key of the current element.

Ver también


IteratorIterator
PHP Manual