php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #78058 sift -> shift
Submitted: 2019-05-23 14:56 UTC Modified: 2019-05-23 15:00 UTC
From: lexxur at gmail dot com Assigned:
Status: Not a bug Package: *Languages/Translation
PHP Version: 7.3.5 OS: all
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: lexxur at gmail dot com
New email:
PHP Version: OS:

 

 [2019-05-23 14:56 UTC] lexxur at gmail dot com
Description:
------------
---
From manual page: https://php.net/class.splpriorityqueue
---

Change `sift` to `shift` plz in "SplPriorityQueue::extract" description


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-05-23 15:00 UTC] daverandom@php.net
-Status: Open +Status: Not a bug
 [2019-05-23 15:00 UTC] daverandom@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

In the context of a heap, "sift" is the correct term, "shift" applies to stack/queue structure.

See https://en.wikipedia.org/wiki/Binary_heap
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC