SplDoublyLinkedList
PHP Manual

SplDoublyLinkedList::key

(PHP 5 >= 5.3.0)

SplDoublyLinkedList::keyReturn current node index

Descripción

mixed SplDoublyLinkedList::key ( void )

This function returns the current node index

Parámetros

Esta función no tiene parámetros.

Valores devueltos

The current node index.


SplDoublyLinkedList
PHP Manual