SplDoublyLinkedList::count

SplDoublyLinkedList::countCounts the number of elements in the doubly linked list

Description

public SplDoublyLinkedList::count(): int

Parameters

This function has no parameters.

Return Values

Returns the number of elements in the doubly linked list.