PHP 8.1.0 RC 2 available for testing

ldap_count_references

(PHP 8)

ldap_count_referencesCounts the number of references in a search result

Description

ldap_count_references(resource $ldap, resource $result): int

Counts the number of references in a search result.

Parameters

ldap

An LDAP resource, returned by ldap_connect().

result

An LDAP result resource, returned by ldap_list() or ldap_search().

Return Values

Returns the number of references in a search result.

See Also

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top