PHP Manual

  • English French German Portuguese Spanish
PHP Manual Function Reference Other Basic Extensions SPL Datastructures SplDoublyLinkedList SplDoublyLinkedList::unshift
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::unserialize
  • SplDoublyLinkedList::valid

SplDoublyLinkedList::unshift

(PHP 5 >= 5.3.0)

SplDoublyLinkedList::unshift — Prepends the doubly linked list with an element

Description

public void SplDoublyLinkedList::unshift ( mixed $value )

Prepends value at the beginning of the doubly linked list.

Parameters

value

The value to unshift.

Return Values

No value is returned.

© Copyright © 2001-2015 The PHP Group.

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