php8.5
Home/ Manual/ reference / spl/ The SplMaxHeap class

The SplMaxHeap class

The SplMaxHeap class provides the main functionalities of a heap, keeping the maximum on the top.

Intro

The SplMaxHeap class provides the main functionalities of a heap, keeping the maximum on the top.

Class synopsis

class SplMaxHeap extends SplHeap { }

Splmaxheap

In this section

Source: reference/spl/splmaxheap.xml · from the official PHP manual (php/doc-en)