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::offsetSet指定した $index に $newval をセットする

説明

void ArrayObject::offsetSet ( mixed $index , mixed $newval )
警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

指定したインデックスに新しい値を設定します。

パラメータ

index

設定したいインデックス。

newval

index の新しい値。

返り値

値を返しません。



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