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