PHP Manual

  • English French German Portuguese Spanish
Manual do PHP Referência das Funções Outras Extensões Básicas SPL Datastructures SplDoublyLinkedList SplDoublyLinkedList::shift
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::setIteratorMode
  • SplDoublyLinkedList::top

SplDoublyLinkedList::shift

(PHP 5 >= 5.3.0)

SplDoublyLinkedList::shift — Shifts a node from the beginning of the doubly linked list

Descrição

public mixed SplDoublyLinkedList::shift ( void )

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

The value of the shifted node.

Erros

Throws RuntimeException when the data-structure is empty.

© Copyright © 2001-2015 The PHP Group.

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