PHP Manual

  • English French German Portuguese Spanish
Manual do PHP Referência das Funções Outras Extensões Básicas SPL Datastructures 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 — Sets the value at the specified $index to $newval

Descrição

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

Sets the value at the specified index to newval.

Parâmetros

index

The index being set.

newval

The new value for the index.

Valor Retornado

Não há valor retornado.

Erros

Throws OutOfRangeException when index is out of bounds or when index cannot be parsed as an integer.

© Copyright © 2001-2015 The PHP Group.

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