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