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