SplDoublyLinkedList
PHP Manual

SplDoublyLinkedList::key

(PHP 5 >= 5.3.0)

SplDoublyLinkedList::keyReturn current node index

Описание

mixed SplDoublyLinkedList::key ( void )

This function returns the current node index

Список параметров

This function has no parameters.

Возвращаемые значения

The current node index.


SplDoublyLinkedList
PHP Manual