Deprecating ldap_sort
| From: | Andreas Heigl | Date: | Wed, 24 Jun 2015 15:39:57 +0000 |
| Subject: | Deprecating ldap_sort | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-86849@lists.php.net to get a copy of this message | ||
Hi everyone.
Côme Bernigaud and myself are currently cleaning up the LDAP-Extension
(Well, Côme is doing the hard work and I'm trying to assist in some
way). We would like to bring it in line with a more recent version of
the OpenLDAP-lib. Currently the plan is to require OpenLDAP 2.4 as the
minimum version to build ext/ldap against. This is on a very good way [1].
But in said OpenLDAP-library the ldap_sort-function already has been
marked as deprecated [2]. Therefore we'd like to at least mark PHPs
ldap_sort function as deprecated also.
The current rewrite will make it possible to later use the server-sided
sort functionality so there will be only limited need for the current
(client sided) ldap_sort function.
As it's a BC-break to remove the ldap_sort function will we have to
setup an RFC for that? Or is it a plain "mark it deprecated in PHP7 and
throw it away in PHP8" kind of decission? And will it be possible to get
that marked deprecated in 7 at all?
Thanks for your help in getting this right.
Cheers
Andreas
[1] https://github.com/php/php-src/pull/1357
[2]
http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=blob;f=include/ldap.h;h=c05489766510af132e562a60418fc27d5f2aae50;hb=HEAD#l2018
--
,,,
(o o)
+---------------------------------------------------------ooO-(_)-Ooo-+
| Andreas Heigl |
| mailto:andreas@heigl.org N
50°22'59.5" E 08°23'58" |
| http://andreas.heigl.org http://hei.gl/wiFKy7 |
+---------------------------------------------------------------------+
| http://hei.gl/root-ca
|
+---------------------------------------------------------------------+
Attachment: [application/pkcs7-signature] S/MIME Cryptographic Signature smime.p7s
Attachment: [application/pkcs7-signature] S/MIME Cryptographic Signature smime.p7s