Heap::insert

(Available since version 1.0)

Heap::insertInserts an element in the heap

Description

abstract public bool Heap::insert ( mixed $value )

Insert value in the heap by sifting it up.

Parameters

value

The value to insert.

Return Values

TRUE.

To Top