PHP Manual

  • English French German Portuguese Spanish
Manuel PHP Référence des fonctions Autres extensions basiques SPL Structures des données SplDoublyLinkedList SplDoublyLinkedList::top
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::shift
  • SplDoublyLinkedList::unserialize

SplDoublyLinkedList::top

(PHP 5 >= 5.3.0)

SplDoublyLinkedList::top — Récupère le dernier noeud de la liste

Description

public mixed SplDoublyLinkedList::top ( void )

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

La valeur du dernier noeud.

Erreurs / Exceptions

Lance une exception RuntimeException lorsque la structure de données est vide.

© Copyright © 2001-2015 The PHP Group.

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