PHP » GoLang |
login |
register |
about
|
GoLang Ds\Stack::__construct
request it (608)
GoLang replacement for PHP's Ds\Stack::__construct
[edit | history]
Ds\Stack::__construct(PECL ds >= 1.0.0) Ds\Stack::__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\Stack::__construct() example
<?phpThe above example will output something similar to:
Ds\Stack Object
(
)
Ds\Stack Object
(
[0] => 3
[1] => 2
[2] => 1
)
|
more
Most requested
more
Last requests
|