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