xxxx日本护士丰满hd|亚洲av日韩av无码av欧美av|精品国产污污网站在线看免费|日日摸日日碰夜夜爽久久|国产一区二区亚洲精品

Ds\PriorityQueue::isEmpty

(PECL ds >= 1.0.0)

Ds\PriorityQueue::isEmptyReturns whether the queue is empty

說(shuō)明

public Ds\PriorityQueue::isEmpty(): bool

Returns whether the queue is empty.

參數

此函數沒(méi)有參數。

返回值

Returns true if the queue is empty, false otherwise.

范例

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

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

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

var_dump($a->isEmpty());
var_dump($b->isEmpty());
?>

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

bool(false)
bool(true)
xxxx日本护士丰满hd|亚洲av日韩av无码av欧美av|精品国产污污网站在线看免费|日日摸日日碰夜夜爽久久|国产一区二区亚洲精品