PHP - Manual: SplHeap::count
2024-11-15
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
SplHeap::count — Counts the number of elements in the heap
此函数没有参数。
Returns the number of elements in the heap.
官方地址:https://www.php.net/manual/en/splheap.count.php