SplDoublyLinkedList::offsetUnset
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
Unsets the value at the specified $index
Description
SplDoublyLinkedList::offsetUnset(int $index): void
Unsets the value at the specified index.
Parameters
indexThe index being unset.
Return Values
Void
Errors/Exceptions
Throws OutOfRangeException when index is out of bounds or when index cannot be parsed as an integer.