Bug #78389 [NEW]: ldap_control_paged_result deprecated - A bug or feature?
| From: | call dot user dot func at gmail dot com | Date: | Fri, 09 Aug 2019 04:45:09 +0000 |
| Subject: | Bug #78389 [NEW]: ldap_control_paged_result deprecated - A bug or feature? | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-222151@lists.php.net to get a copy of this message | ||
From: call dot user dot func at gmail dot com
Operating system: Windows 10
PHP version: 7.4.0beta2
Package: LDAP related
Bug Type: Bug
Bug description:ldap_control_paged_result deprecated - A bug or feature?
Description:
------------
Starting with PHP 7.4 the function "ldap_control_paged_result" and
"ldap_control_paged_result_response" is deprecated.
I have read the deprecations RFC from 7.4 and even 7.3 and i cannot find
that should be deprecated.
https://wiki.php.net/rfc/deprecations_php_7_4
https://wiki.php.net/rfc/deprecations_php_7_3
If this is intended, please provide us with some information how we
should work without that 2 functions to archive the same result.
Thank you.
Test script:
---------------
<?php
// make sure you have extension=ldap enabled in php.ini
ldap_control_paged_result(null, 0);
ldap_control_paged_result_response(null, null);
Expected result:
----------------
Funtions should not be deprecated
Actual result:
--------------
They are deprecated
--
Edit bug report at https://bugs.php.net/bug.php?id=78389&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78389&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78389&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78389&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78389&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78389&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78389&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78389&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78389&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78389&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78389&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78389&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78389&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78389&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78389&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78389&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78389&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78389&r=mysqlcfg