| | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
Ds\Vector::insert(PECL ds >= 1.0.0) Ds\Vector::insert — Inserts values at a given index. 説明Inserts values into the vector at a given index. パラメータ
返り値値を返しません。 エラー / 例外OutOfRangeException if the index is not valid. 例例1 Ds\Vector::insert() example
<?php上の例の出力は、 たとえば以下のようになります。
object(Ds\Vector)#1 (7) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
[2]=>
string(1) "c"
[3]=>
string(1) "d"
[4]=>
string(1) "e"
[5]=>
string(1) "f"
[6]=>
string(1) "g"
}
|
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「Ds\Vector::insert - Inserts values at a given index.」をGoogle検索
|