array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'function.ldap-rename-ext.php', 1 => 'ldap_rename_ext', 2 => 'Modify the name of an entry', ), 'up' => array ( 0 => 'ref.ldap.php', 1 => 'Функції LDAP', ), 'prev' => array ( 0 => 'function.ldap-rename.php', 1 => 'ldap_rename', ), 'next' => array ( 0 => 'function.ldap-sasl-bind.php', 1 => 'ldap_sasl_bind', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ldap/functions/ldap-rename-ext.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

ldap_rename_ext

(PHP 7 >= 7.3.0, PHP 8)

ldap_rename_extModify the name of an entry

Опис

ldap_rename_ext(
    LDAP\Connection $ldap,
    string $dn,
    string $new_rdn,
    string $new_parent,
    bool $delete_old_rdn,
    ?array $controls = null
): LDAP\Result|false

Does the same thing as ldap_rename() but returns an LDAP\Result instance to be parsed with ldap_parse_result().

Параметри

See ldap_rename()

Значення, що повертаються

Повертає примірника LDAP\Result, або false в разі помилки.

Журнал змін

Версія Опис
8.1.0 Тепер параметр ldap має бути примірником LDAP\Connection; раніше очікувався дійсний resource ldap link.
8.1.0 Тепер повертає примірника LDAP\Result; раніше повертався resource.
8.0.0 Параметр controls тепер може бути null; раніше початково було [].
7.3.0 Support for controls added

Прогляньте також