php8.5
Home/ Manual/ ldap / functions/ ldap_next_entry

ldap_next_entry

PHP function Edit on GitHub ✎

(PHP 4, PHP 5, PHP 7, PHP 8)

Get next result entry

Description

ldap_next_entry(LDAP\Connection $ldap, LDAP\ResultEntry $entry): LDAP\ResultEntry|false

Retrieve the entries stored in the result. Successive calls to the ldap_next_entry() return entries one by one till there are no more entries. The first call to ldap_next_entry() is made after the call to ldap_first_entry() with the entry as returned from the ldap_first_entry().

Parameters

ldap

Ldap

entry

Entry

Return Values

Returns an LDAP\ResultEntry instance for the next entry in the result whose entries are being read starting with ldap_first_entry(). If there are no more entries in the result then it returns false.

Changelog

VersionDescription

See Also

Source: reference/ldap/functions/ldap-next-entry.xml · from the official PHP manual (php/doc-en)