« Ds\PriorityQueue::copy Ds\PriorityQueue::isEmpty » PHP Manual PriorityQueue Returns the number of values in the queue Ds\PriorityQueue::count (PECL ds >= 1.0.0) Ds\PriorityQueue::count — Returns the number of values in the queue See Countable::count()