W3cubDocs

/PHP

SplHeap::recoverFromCorruption

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

SplHeap::recoverFromCorruptionRecover from the corrupted state and allow further actions on the heap

Description

public SplHeap::recoverFromCorruption(): true

Parameters

This function has no parameters.

Return Values

Always returns true.

Changelog

Version Description
8.4.0 SplHeap::recoverFromCorruption() now has a tentative return of true.

© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/splheap.recoverfromcorruption.php