diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2021-03-13 12:11:40 +0100 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2021-03-21 10:43:25 +0100 |
commit | cd40fc3cb1892197a462e013f930859a5d8064b3 (patch) | |
tree | 49054b820043ae0aa7bea5b79131bcf2ba2a0886 /UPGRADING | |
parent | 6690547a58f07778e795e857e574159fe8fb3650 (diff) | |
download | php-git-cd40fc3cb1892197a462e013f930859a5d8064b3.tar.gz |
Convert resources to objects in ext/ldap
Closes GH-6770
Diffstat (limited to 'UPGRADING')
-rw-r--r-- | UPGRADING | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |