(PHP 4, PHP 5, PHP 7, PHP 8)
ldap_next_entry — Get next result entry
   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().
  
ldapAn LDAP\Connection instance, returned by ldap_connect().
entryAn LDAP\ResultEntry instance.
   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.
  
| Version | Description | 
|---|---|
| 8.1.0 | The ldapparameter expects an LDAP\Connection
  instance now; previously, a validldap linkresource was expected. | 
| 8.1.0 | The entryparameter expects an LDAP\ResultEntry
  instance now; previously, a validldap result entryresource was expected. | 
| 8.1.0 | Returns an LDAP\Result instance now; previously, a resource was returned. |