array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'function.ldap-count-references.php', 1 => 'ldap_count_references', 2 => 'Counts the number of references in a search result', ), 'up' => array ( 0 => 'ref.ldap.php', 1 => 'LDAP Funzioni', ), 'prev' => array ( 0 => 'function.ldap-count-entries.php', 1 => 'ldap_count_entries', ), 'next' => array ( 0 => 'function.ldap-delete.php', 1 => 'ldap_delete', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ldap/functions/ldap-count-references.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

ldap_count_references

(PHP 8)

ldap_count_referencesCounts the number of references in a search result

Descrizione

ldap_count_references(LDAP\Connection $ldap, LDAP\Result $result): int

Counts the number of references in a search result.

Elenco dei parametri

ldap

An LDAP\Connection instance, returned by ldap_connect().

result

An LDAP\Result instance, returned by ldap_list() or ldap_search().

Valori restituiti

Returns the number of references in a search result.

Log delle modifiche

Versione Descrizione
8.1.0 The ldap parameter expects an LDAP\Connection instance now; previously, a valid ldap link resource was expected.
8.1.0 The result parameter expects an LDAP\Result instance now; previously, a valid ldap result resource was expected.

Vedere anche: