男女疯狂一边摸一边做羞羞视频|啊好深好硬快点用力别停动态图|亚洲一区无码中文字幕|特级无码毛片免费视频播放▽|久久狠狠躁免费观看|国内精品久久久久久网站

Ds\PriorityQueue::push

(PECL ds >= 1.0.0)

Ds\PriorityQueue::pushPushes values into the queue

說(shuō)明

public Ds\PriorityQueue::push(mixed $value, int $priority): void

Pushes a value with a given priority into the queue.

參數

value

The value to push into the queue.

priority

The priority associated with the value.

返回值

沒(méi)有返回值。

范例

示例 #1 Ds\PriorityQueue::push() example

<?php
$queue 
= new \Ds\PriorityQueue();

$queue->push("a",  5);
$queue->push("b"15);
$queue->push("c"10);

print_r($queue->pop());
print_r($queue->pop());
print_r($queue->pop());
?>

以上例程的輸出類(lèi)似于:

string(1) "b"
string(1) "c"
string(1) "a"
男女疯狂一边摸一边做羞羞视频|啊好深好硬快点用力别停动态图|亚洲一区无码中文字幕|特级无码毛片免费视频播放▽|久久狠狠躁免费观看|国内精品久久久久久网站