array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'function.ldap-error.php', 1 => 'ldap_error', 2 => 'Return the LDAP error message of the last LDAP command', ), 'up' => array ( 0 => 'ref.ldap.php', 1 => 'Функції LDAP', ), 'prev' => array ( 0 => 'function.ldap-errno.php', 1 => 'ldap_errno', ), 'next' => array ( 0 => 'function.ldap-escape.php', 1 => 'ldap_escape', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ldap/functions/ldap-error.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PHP 4, PHP 5, PHP 7, PHP 8)
ldap_error — Return the LDAP error message of the last LDAP command
Returns the string error message explaining the error generated by the
last LDAP command for the given ldap
.
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.
Unless you lower your warning level in your php.ini sufficiently or
prefix your LDAP commands with @
(at) characters to
suppress warning output, the errors generated will also show up in your
HTML output.
Returns string error message.
Версія | Опис |
---|---|
8.1.0 |
Тепер параметр ldap має бути примірником
LDAP\Connection; раніше очікувався дійсний resource
ldap link .
|