| | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
Ds\Set::copy(PECL ds >= 1.0.0) Ds\Set::copy — Returns a shallow copy of the set. 説明
public Ds\Set Ds\Set::copy
( void
)
Returns a shallow copy of the set. パラメータこの関数にはパラメータはありません。 返り値Returns a shallow copy of the set. 例例1 Ds\Set::copy() example
<?php上の例の出力は、 たとえば以下のようになります。
Ds\Set Object
(
[0] => 1
[1] => 2
[2] => 3
)
Ds\Set Object
(
[0] => 1
[1] => 2
[2] => 3
[3] => 4
)
|
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「Ds\Set::copy - Returns a shallow copy of the set.」をGoogle検索
|