PHP » GoLang |
login |
register |
about
|
GoLang Ds\Queue::__construct
request it (601)
GoLang replacement for PHP's Ds\Queue::__construct
[edit | history]
Ds\Queue::__construct(PECL ds >= 1.0.0) Ds\Queue::__construct — Creates a new instance Description
Creates a new instance, using either a traversable
object or an array for the initial Parameters
ExamplesExample #1 Ds\Queue::__construct() example
<?phpThe above example will output something similar to:
object(Ds\Queue)#2 (0) {
}
object(Ds\Queue)#2 (3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}
|
more
Most requested
more
Last requests
|