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