You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #43179 [Ldap] Fix resource type checks & docblocks on PHP 8.1 (chalasr)
This PR was merged into the 4.4 branch.
Discussion
----------
[Ldap] Fix `resource` type checks & docblocks on PHP 8.1
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | -
| License | MIT
| Doc PR | -
From https://www.php.net/manual/en/migration81.incompatible.php:
> Several resources have been migrated to objects. Return value checks using is_resource() should be replaced with checks for false.
The LDAP functions now accept and return, respectively, LDAP\ResultEntry objects instead of ldap result entry resources.
The LDAP functions now accept and return, respectively, LDAP\Connection objects instead of ldap link resources.
The LDAP functions now accept and return, respectively, LDAP\Result objects instead of ldap result resources.
The LDAP functions now accept and return, respectively, LDAP\ResultEntry objects instead of ldap result entry resources.
See also php/php-src#6770
Commits
-------
2c0f7e0 [LDAP] Fix resource type checks & docblocks on PHP 8.1
0 commit comments