PHP 8.1 introduced classes for LDAP connections, LDAP results and LDAP result entries.
This breaks Net_LDAP2 because it tries to check for is_resource at some places where objects are returned now, e.g. Net_LDAP2_Entry::createConnected().
This leads to the problem that no result entries are returned anymore.
PHP 8.1 introduced classes for LDAP connections, LDAP results and LDAP result entries. This breaks Net_LDAP2 because it tries to check for is_resource at some places where objects are returned now, e.g.
Net_LDAP2_Entry::createConnected()
.This leads to the problem that no result entries are returned anymore.
https://www.php.net/ChangeLog-8.php#8.1.0
https://www.php.net/manual/en/function.ldap-first-entry.php