SplDoublyLinkedList::key

(PHP 5 >= 5.3.0, PHP 7)

SplDoublyLinkedList::keyRetourne l'index du noeud courant

Description

public SplDoublyLinkedList::key ( void ) : mixed

Retourne l'index du noeud courant.

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

L'index du noeud courant.