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

Опис

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

Counts the number of references in a search result.

Параметри

ldap

Примірник LDAP\Connection, якого повертає ldap_connect().

result

Примірник LDAP\Result, якого повертає ldap_list() або ldap_search().

Значення, що повертаються

Returns the number of references in a search result.

Журнал змін

Версія Опис
8.1.0 Тепер параметр ldap має бути примірником LDAP\Connection; раніше очікувався дійсний resource ldap link.
8.1.0 Тепер параметр result має бути примірником LDAP\Result; раніше очікувався дійсний resource ldap result.

Прогляньте також