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

ldap_next_attribute

PHP function Edit on GitHub ✎

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

Get the next attribute in result

Description

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

Retrieves the attributes in an entry. The first call to ldap_next_attribute() is made with the entry returned from ldap_first_attribute().

Parameters

ldap

Ldap

entry

Entry

Return Values

Returns the next attribute in an entry on success and false on error.

Changelog

VersionDescription
8.0.0The unused third parameter ber_identifier is no longer accepted.

See Also

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