|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #64778 SplHeap::recoverFromCorruption is missing source of corruption
Submitted: 2013-05-06 13:28 UTC Modified: 2017-01-28 12:22 UTC
From: j dot jeising at gmail dot com Assigned:
Status: Open Package: SPL related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: j dot jeising at gmail dot com
New email:
PHP Version: OS:


 [2013-05-06 13:28 UTC] j dot jeising at gmail dot com
The documentation for SplHeap::recoverFromCorruption should mention in which cases 
the heap becomes corrupted. SplHeap::compare already mentions this partially.

Proposed description:

"When an exception is thrown in SplHeap::compare() the Heap is corrupted and 
placed in a blocked state. This function unblocks it. However, some elements might 
not be placed correctly and it may hence break the heap-property."


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-28 12:22 UTC]
-Type: Feature/Change Request +Type: Documentation Problem -Package: Documentation problem +Package: SPL related
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Jul 01 01:03:36 2022 UTC