LinkedList::unshift

(Available since version 1.0)

LinkedList::unshiftPrepends the singly linked list with an element

Description

public bool LinkedList::unshift ( mixed $value )

Prepends value at the beginning of the singly linked list.

Parameters

value

The value to unshift.

Return Values

TRUE.

To Top