PHP » GoLang |
login |
register |
about
|
GoLang Ds\PriorityQueue::copy
request it (524)
GoLang replacement for PHP's Ds\PriorityQueue::copy
[edit | history]
Ds\PriorityQueue::copy(PECL ds >= 1.0.0) Ds\PriorityQueue::copy — Returns a shallow copy of the queue Description
public Ds\PriorityQueue Ds\PriorityQueue::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\PriorityQueue::copy() example
<?phpThe above example will output something similar to:
Ds\PriorityQueue Object
(
[0] => b
[1] => c
[2] => a
)
|
more
Most requested
more
Last requests
|