summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2021-03-13 12:11:40 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2021-03-21 10:43:25 +0100
commitcd40fc3cb1892197a462e013f930859a5d8064b3 (patch)
tree49054b820043ae0aa7bea5b79131bcf2ba2a0886 /UPGRADING
parent6690547a58f07778e795e857e574159fe8fb3650 (diff)
downloadphp-git-cd40fc3cb1892197a462e013f930859a5d8064b3.tar.gz
Convert resources to objects in ext/ldap
Closes GH-6770
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING11
1 files changed, 11 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index 286735a4e8..97b99a380b 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -68,6 +68,17 @@ PHP 8.1 UPGRADE NOTES
. The IMAP functions now accept and return, respectively, IMAPConnection objects
instead of resources.
+- LDAP:
+ . The LDAP functions now accept and return, respectively, LDAP objects
+ instead of "ldap link" resources. Return value checks using is_resource()
+ should be replaced with checks for `false`.
+ . The LDAP functions now accept and return, respectively, LDAPResult objects
+ instead of "ldap result" resources. Return value checks using is_resource()
+ should be replaced with checks for `false`.
+ . The LDAP functions now accept and return, respectively, LDAPResultEntry
+ objects instead of "ldap result entry" resources. Return value checks using
+ is_resource() should be replaced with checks for `false`.
+
- MySQLi:
. mysqli_fetch_fields() and mysqli_fetch_field_direct() will now always return
zero for max_length. You can compute this information by iterating over the