php8.5
Home/ Manual/ spl / splheap/ SplHeap::key

SplHeap::key

PHP function Edit on GitHub ✎

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

Return current node index

Description

SplHeap::key(): int

This function returns the current node index

Parameters Parameters

Return Values

The current node index.

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