|
Ds\Set::copyReturns a shallow copy of the set 説明
public Ds\Set Ds\Set::copy()
Returns a shallow copy of the set. パラメータこの関数にはパラメータはありません。 戻り値Returns a shallow copy of the set. 例例1 Ds\Set::copy example 上の例の出力は、 たとえば以下のようになります。
Ds\Set Object
(
[0] => 1
[1] => 2
[2] => 3
)
Ds\Set Object
(
[0] => 1
[1] => 2
[2] => 3
[3] => 4
)
|