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

SplDoublyLinkedList::valid

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

SplDoublyLinkedList::valid — Check whether the doubly linked list contains more nodes

Description

public function SplDoublyLinkedList::valid(): bool

Checks if the doubly linked list contains any more nodes.

Parameters

This function has no parameters.

Return Values

Returns true if the doubly linked list contains any more nodes, false otherwise.


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