PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ArrayObject::offsetUnset> <ArrayObject::offsetGet
Last updated: Fri, 22 Aug 2008

view this page in

ArrayObject::offsetSet

(PHP 5)

ArrayObject::offsetSetDefine o valor do índice especificado por $index para $newval

Descrição

void ArrayObject::offsetSet ( mixed $index , mixed $newval )
Aviso

Esta função não está documentada; somente a lista de argumentos está disponível.

Sets the value at the specified index to newval.

Parâmetros

index

O índice a ser definido.

newval

O novo valor para o index .

Valor Retornado

Não há valor retornado.



add a note add a note User Contributed Notes
ArrayObject::offsetSet
n dot lenepveu at gmail dot com
30-Sep-2008 09:20
If $index is null, $newval is naturally pushed onto the end of the array as ArrayObject::append

ArrayObject::offsetUnset> <ArrayObject::offsetGet
Last updated: Fri, 22 Aug 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites