From cd40fc3cb1892197a462e013f930859a5d8064b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Sat, 13 Mar 2021 12:11:40 +0100 Subject: Convert resources to objects in ext/ldap Closes GH-6770 --- UPGRADING | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'UPGRADING') 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 -- cgit v1.2.1