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

search for in the

SplFixedArray::offsetUnset> <SplFixedArray::offsetGet
[edit] Last updated: Fri, 25 May 2012

view this page in

SplFixedArray::offsetSet

(PHP 5 >= 5.3.0)

SplFixedArray::offsetSet指定した添字の新しい値を設定する

説明

public void SplFixedArray::offsetSet ( int $index , mixed $newval )

index で指定した添字の値を newval に設定します。

パラメータ

index

設定したい添字。

newval

index の新しい値。

返り値

値を返しません。

エラー / 例外

index が配列で定義されているサイズの範囲外の場合や index を数値として解釈できない場合に RuntimeException をスローします。



add a note add a note User Contributed Notes SplFixedArray::offsetSet
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites