Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SplDoublyLinkedList::bottomSplDoublyLinkedList::current>
^SplDoublyLinkedListLast updated: Mon, 26 Oct 2026

SplDoublyLinkedList::count

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

SplDoublyLinkedList::count — Counts the number of elements in the doubly linked list

Description

public function SplDoublyLinkedList::count(): int

Parameters

This function has no parameters.

Return Values

Returns the number of elements in the doubly linked list.


<SplDoublyLinkedList::bottomSplDoublyLinkedList::current>
^SplDoublyLinkedListLast updated: Mon, 26 Oct 2026