PHP Manual

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

SplDoublyLinkedList::offsetSet

(PHP 5 >= 5.3.0)

SplDoublyLinkedList::offsetSet — Spécifie la nouvelle valeur de l'index

Description

public void SplDoublyLinkedList::offsetSet ( mixed $index , mixed $newval )

Définit la valeur de l'index à la valeur newval.

Liste de paramètres

index

L'index à définir.

newval

La nouvelle valeur pour l'index.

Valeurs de retour

Aucune valeur n'est retournée.

Erreurs / Exceptions

Lance une exception OutOfRangeException lorsque index est en dehors des limites ou lorsque index ne peut être analysé comme un entier.

© Copyright © 2001-2015 The PHP Group.

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