array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), '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 Funktionen', ), '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

Beschreibung

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

Counts the number of references in a search result.

Parameter-Liste

ldap

Eine LDAP\ConnectionInstanz, die von ldap_connect() zurückgegeben wurde.

result

Eine LDAP\ConnectionInstanz, die von ldap_list() oder ldap_search() zurückgegeben wurde.

Rückgabewerte

Returns the number of references in a search result.

Changelog

Version Beschreibung
8.1.0 Der Parameter ldap erwartet nun eine LDAP\Connection-Instanz; vorher wurde eine gültige ldap link-Ressource erwartet.
8.1.0 Der Parameter result erwartet nun eine LDAP\Result-Instanz; vorher wurde eine gültige ldap result-Ressource erwartet.

Siehe auch