Doc #76546 [Ver]: ldap_exop_refresh function not available in 7.2
| From: | mcmic@php.net | Date: | Mon, 02 Jul 2018 06:59:57 +0000 |
| Subject: | Doc #76546 [Ver]: ldap_exop_refresh function not available in 7.2 | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-15839@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76546&edit=1
ID: 76546
Updated by: mcmic@php.net
Reported by: post at rolandgruber dot de
Summary: ldap_exop_refresh function not available in 7.2
Status: Verified
Type: Documentation Problem
Package: LDAP related
Operating System: Linux
PHP Version: 7.2.7
Assigned To: mcmic
Block user comment: N
Private report: N
New Comment:
I donât know why it was not added in 7.2, it might have been a mistake, or maybe I missed the
deadline I canât remember.
Iâm not sure we can add a feature in a 7.2 minor release now.
Previous Comments:
------------------------------------------------------------------------
[2018-06-29 11:08:21] requinix@php.net
I would expect that if it could be added to 7.2 then it would have been...
@mcmic?
------------------------------------------------------------------------
[2018-06-29 11:06:44] post at rolandgruber dot de
Thanks a lot for the info.
Can you also add it in 7.2? Seems HAVE_LDAP_REFRESH_S is missing here:
https://github.com/php/php-src/blob/PHP-7.2.7/ext/ldap/config.w32
AC_DEFINE('HAVE_LDAP_REFRESH_S', 1);
The ldap.c file of 7.2.7 already contains the code for the refresh command.
------------------------------------------------------------------------
[2018-06-29 11:03:47] requinix@php.net
ldap_exop_refresh is being added in 7.3.
https://github.com/php/php-src/commit/5e56d050e582d845e977377a1f8ba8deb15ab082
------------------------------------------------------------------------
[2018-06-29 10:33:58] post at rolandgruber dot de
Description:
------------
The function "ldap_exop_refresh" is not available as described in the documentation. See
http://php.net/manual/en/function.ldap-exop-refresh.php.
I get: Uncaught Error: Call to undefined function ldap_exop_refresh()
Try the test script. It will output other LDAP exop functions but not the refresh one. According to
documentation it should be available since 7.2.0 (I tried with 7.2.4).
Please make it available and update the documentation with the correct version number.
Test script:
---------------
$functions = get_defined_functions();
foreach ($functions['internal'] as $function) {
if (strpos($function, 'ldap_exop') !== false) {
echo $function . "<br>";
}
}
Expected result:
----------------
ldap_exop_refresh can be used in code.
Actual result:
--------------
Uncaught Error: Call to undefined function ldap_exop_refresh()
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76546&edit=1