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::getIteratorModeSplDoublyLinkedList::key>
^SplDoublyLinkedListLast updated: Mon, 26 Oct 2026

SplDoublyLinkedList::isEmpty

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

SplDoublyLinkedList::isEmpty — Checks whether the doubly linked list is empty

Description

public function SplDoublyLinkedList::isEmpty(): bool

Parameters

This function has no parameters.

Return Values

Returns whether the doubly linked list is empty.


<SplDoublyLinkedList::getIteratorModeSplDoublyLinkedList::key>
^SplDoublyLinkedListLast updated: Mon, 26 Oct 2026