PHP Manual

  • English French German Portuguese Spanish
PHP Manual Function Reference Other Basic Extensions SPL Datastructures SplDoublyLinkedList SplDoublyLinkedList::key
SplDoublyLinkedList SplDoublyLinkedList::add SplDoublyLinkedList::bottom SplDoublyLinkedList::__construct SplDoublyLinkedList::count SplDoublyLinkedList::current SplDoublyLinkedList::getIteratorMode SplDoublyLinkedList::isEmpty SplDoublyLinkedList::key SplDoublyLinkedList::next SplDoublyLinkedList::offsetExists SplDoublyLinkedList::offsetGet SplDoublyLinkedList::offsetSet SplDoublyLinkedList::offsetUnset SplDoublyLinkedList::pop SplDoublyLinkedList::prev SplDoublyLinkedList::push SplDoublyLinkedList::rewind SplDoublyLinkedList::serialize SplDoublyLinkedList::setIteratorMode SplDoublyLinkedList::shift SplDoublyLinkedList::top SplDoublyLinkedList::unserialize SplDoublyLinkedList::unshift SplDoublyLinkedList::valid
  • SplDoublyLinkedList::isEmpty
  • SplDoublyLinkedList::next

SplDoublyLinkedList::key

(PHP 5 >= 5.3.0)

SplDoublyLinkedList::key — Return current node index

Description

public mixed SplDoublyLinkedList::key ( void )

This function returns the current node index

Parameters

This function has no parameters.

Return Values

The current node index.

© Copyright © 2001-2015 The PHP Group.

© Copyright 2014. Diseñado por PHP Manual usando jfCMS.