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, 10 Oct 2008

view this page in

ArrayObject::offsetSet

(PHP 5)

ArrayObject::offsetSetSets the value at the specified $index to $newval

Description

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

This function is currently not documented; only its argument list is available.

Sets the value at the specified index to newval.

Parameters

index

The index being set.

newval

The new value for the index .

Return Values

No value is returned.



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, 10 Oct 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites