PHP » GoLang |
login |
register |
about
|
|
Ds\Pair::copy(No version information available, might only be in Git) Ds\Pair::copy — Returns a shallow copy of the pair Description
public Ds\Pair Ds\Pair::copy
( void
)
Returns a shallow copy of the pair. ParametersThis function has no parameters. Return ValuesReturns a shallow copy of the pair. ExamplesExample #1 Ds\Pair::copy() example
<?phpThe above example will output something similar to:
Ds\Pair Object
(
[key] => x
[value] => 1
)
Ds\Pair Object
(
[key] => a
[value] => 1
)
|
more
Most requested
more
Last requests
|