(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.
| 版本 | 说明 | 
|---|---|
| 8.1.0 | The ldapparameter expects an LDAP\Connection
  instance now; previously, a 资源(resource) was expected. | 
| 8.1.0 | The resultparameter expects an LDAP\Result
  instance now; previously, a 资源(resource) was expected. |