Ds\Pair::toArrayConverts the pair to an array Descriptionpublic array Ds\Pair::toArray()
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
The above example will output something similar to: array(2) { ["key"]=> string(1) "a" ["value"]=> int(1) } |