SPL
PHP Manual

The SplHeap class

Introduction

The SplHeap class provides the main functionalities of an Heap.

Class synopsis

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

Table of Contents


SPL
PHP Manual