(PHP 5 >= 5.3.0, PHP 7, PHP 8)
SplPriorityQueue::recoverFromCorruption — Recover from the corrupted state and allow further actions on the queue
public SplPriorityQueue::recoverFromCorruption(): true
This function has no parameters.
Always returns true.
| Version | Description |
|---|---|
| 8.4.0 | SplPriorityQueue::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/splpriorityqueue.recoverfromcorruption.php