PHP | SplDoublyLinkedList __construct() Function
The SplDoublyLinkedList::__construct() function is an inbuilt function in PHP which is used to create a new empty doubly linked list. Syntax: public SplDoublyLinkedList::__construct( void ) Parameters: This function does not accept any parameter. Return Value: This function does not return any value