PHP » GoLang |
login |
register |
about
|
Ds\Set::copy(PECL ds >= 1.0.0) Ds\Set::copy — Returns a shallow copy of the set Description
public Ds\Set Ds\Set::copy
( void
)
Returns a shallow copy of the set. ParametersThis function has no parameters. Return ValuesReturns a shallow copy of the set. ExamplesExample #1 Ds\Set::copy() example
<?php The above example will output something similar to: Ds\Set Object ( [0] => 1 [1] => 2 [2] => 3 ) Ds\Set Object ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 ) |
more
Recently updated
more
Most requested
more
Last requests
|