PHP » GoLang |
login |
register |
about
|
GoLang Ds\Stack::toArray
request it (381)
GoLang replacement for PHP's Ds\Stack::toArray
[edit | history]
Description
public array Ds\Stack::toArray
( void
)
Converts the stack to an array.
ParametersThis function has no parameters. Return ValuesAn array containing all the values in the same order as the stack. ExamplesExample #1 Ds\Stack::toArray() example
<?php The above example will output something similar to: array(3) { [0]=> int(3) [1]=> int(2) [2]=> int(1) } |
more
Recently updated
more
Most requested
more
Last requests
|