|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71490 ldap_sort() manpage says nothing of deprecation in PHP 7
Submitted: 2016-02-01 14:47 UTC Modified: 2016-03-10 09:08 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: ben at indietorrent dot org Assigned: mcmic (profile)
Status: Closed Package: LDAP related
PHP Version: 7.0.2 OS: GNU/Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: ben at indietorrent dot org
New email:
PHP Version: OS:


 [2016-02-01 14:47 UTC] ben at indietorrent dot org
From manual page:

Nowhere on the ldap_sort() manpage is it mentioned that this function is deprecated in PHP 7.

Nor is there any mention of a replacement nor alternative function.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-03-10 09:08 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: mcmic
 [2016-03-10 09:08 UTC]
Sorry about this, documentation had been updated but the change was not committed for some reason.
Now the function correctly appears as deprecated since PHP 7.

As for a replacement, there is no drop in replacement since openldap deprecated the ldap_sort function on their side.
You can use any PHP sorting function suiting your needs:
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 15 03:01:28 2024 UTC