(PHP 8)
ldap_count_references — Counts the number of references in a search result
Counts the number of references in a search result.
ldapAn LDAP\Connection instance, returned by ldap_connect().
resultAn LDAP\Result instance, returned by ldap_list() or ldap_search().
Returns the number of references in a search result.
| Version | Description | 
|---|---|
| 8.1.0 | The ldapparameter expects an LDAP\Connection
  instance now; previously, a validldap linkresource was expected. | 
| 8.1.0 | The resultparameter expects an LDAP\Result
  instance now; previously, a validldap resultresource was expected. | 
