Creates a new instance

Ds\PriorityQueue::__construct

(PECL ds >= 1.0.0)

Ds\PriorityQueue::__constructCreates a new instance

說明

public Ds\PriorityQueue::__construct()

Creates a new instance.

範例

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

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

以上例程的輸出類似於:

object(Ds\PriorityQueue)#1 (0) {
}

Leave a Reply

Your email address will not be published. Required fields are marked *