PHP » GoLang |
login |
register |
about
|
GoLang Ds\Pair::toArray
request it (609)
GoLang replacement for PHP's Ds\Pair::toArray
[edit | history]
Description
public array Ds\Pair::toArray
( void
)
Converts the pair to an array.
ParametersThis function has no parameters. Return ValuesAn array containing all the values in the same order as the pair. ExamplesExample #1 Ds\Pair::toArray() example
<?phpThe above example will output something similar to:
array(2) {
["key"]=>
string(1) "a"
["value"]=>
int(1)
}
|
more
Most requested
more
Last requests
|