Ds\Pair::toArrayConverts the pair to an array 説明public array Ds\Pair::toArray()
Converts the pair to an array.
パラメータこの関数にはパラメータはありません。 戻り値An array containing all the values in the same order as the pair. 例例1 Ds\Pair::toArray example 上の例の出力は、 たとえば以下のようになります。
array(2) {
["key"]=>
string(1) "a"
["value"]=>
int(1)
}
|