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

ldap_rename_ext

PHP function Edit on GitHub ✎

(PHP 7 >= 7.3.0, PHP 8)

Modify the name of an entry

Description

ldap_rename_ext(LDAP\Connection $ldap, string $dn, string $new_rdn, string $new_parent, bool $delete_old_rdn, array|null $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().

Parameters

See ldap_rename()

Return Values

Return-result

Changelog

VersionDescription
7.3.0Support for controls added

See Also

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