php man page for ldap_err2str

Query: ldap_err2str

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

LDAP_ERR2STR(3) 							 1							   LDAP_ERR2STR(3)

ldap_err2str - Convert LDAP error number into string error message

SYNOPSIS
string ldap_err2str (int $errno)
DESCRIPTION
Returns the string error message explaining the error number $errno. While LDAP errno numbers are standardized, different libraries return different or even localized textual error messages. Never check for a specific error message text, but always use an error number to check.
PARAMETERS
o $errno - The error number.
RETURN VALUES
Returns the error message, as a string.
EXAMPLES
Example #1 Enumerating all LDAP error messages <?php for ($i=0; $i<100; $i++) { printf("Error $i: %s<br /> ", ldap_err2str($i)); } ?>
SEE ALSO
ldap_errno(3), ldap_error(3). PHP Documentation Group LDAP_ERR2STR(3)
Related Man Pages
net::ldap::message(3) - mojave
net::ldap::message(3) - suse
intlcal_get_error_message(3) - php
ldap_compare(3) - php
net::ldap::message(3pm) - debian
Similar Topics in the Unix Linux Community
Ldap sasl gssapi