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