Datastructures
PHP Manual

The SplHeap class

Introduction

The SplHeap class provides the main functionalities of an Heap.

Class synopsis

SplHeap
abstract SplHeap implements Iterator , Countable {
/* Methods */
__construct ( void )
abstract int compare ( mixed $value1 , mixed $value2 )
int count ( void )
mixed current ( void )
mixed extract ( void )
void insert ( mixed $value )
bool isEmpty ( void )
mixed key ( void )
void next ( void )
void recoverFromCorruption ( void )
void rewind ( void )
mixed top ( void )
bool valid ( void )
}

Table of Contents


Datastructures
PHP Manual