ldap_get_values_len

array ldap_get_values_len(resource connectionID, resource result, 
string attribute) 
connectionID Connection ID
result Result ID for which to retrieve attributes
attribute Attribute name to turn into an array

Binary-safe way of getting values.

Returns:

Array of all values; FALSE on error

Description:

ldap_get_values_len() is the binary-safe version of ldap_get_values() and can safely be used with binary data.

Availability:

UNIX/Linux, Windows

Version:

3.0.13+, 4.0RC2+

Example:

See ldap_get_values()

Get PHP Functions Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.