Please wait while we load your page...
 

Announcements

PHP Manual :: The SplDoublyLinkedList class



Datastructures || SplDoublyLinkedList::add || PHP Manual

(PHP 5 >= 5.3.0, PHP 7)

The SplDoublyLinkedList class provides the main functionalities of a doubly linked list.

SplDoublyLinkedList implements Iterator , ArrayAccess , Countable {
/* Methods */
public __construct ( void )
public void add ( mixed $index , mixed $newval )
public mixed bottom ( void )
public int count ( void )
public mixed current ( void )
public int getIteratorMode ( void )
public bool isEmpty ( void )
public mixed key ( void )
public void next ( void )
public bool offsetExists ( mixed $index )
public mixed offsetGet ( mixed $index )
public void offsetSet ( mixed $index , mixed $newval )
public void offsetUnset ( mixed $index )
public mixed pop ( void )
public void prev ( void )
public void push ( mixed $value )
public void rewind ( void )
public string serialize ( void )
public void setIteratorMode ( int $mode )
public mixed shift ( void )
public mixed top ( void )
public void unserialize ( string $serialized )
public void unshift ( mixed $value )
public bool valid ( void )
}


Datastructures || SplDoublyLinkedList::add || PHP Manual
Live Chat Not Available