| | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
Ds\PriorityQueue::toArray(PECL ds >= 1.0.0) Ds\PriorityQueue::toArray — Converts the queue to an array. 説明
public array Ds\PriorityQueue::toArray
( void
)
Converts the queue to an array.
パラメータこの関数にはパラメータはありません。 返り値An array containing all the values in the same order as the queue. 例例1 Ds\PriorityQueue::toArray() example
<?php上の例の出力は、 たとえば以下のようになります。
array(3) {
[0]=>
string(1) "b"
[1]=>
string(1) "c"
[2]=>
string(1) "a"
}
|
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「Ds\PriorityQueue::toArray - Converts the queue to an array.」をGoogle検索
|