ldap_rename_ext
(PHP 7 >= 7.3.0)
ldap_rename_ext — Modify the name of an entry
Description
ldap_rename_ext ( resource $ldap , string $dn , string $new_rdn , string $new_parent , bool $delete_old_rdn [, array|null $controls = null ] ) : resource|false
Does the same thing as ldap_rename() but returns the LDAP result resource to be parsed with ldap_parse_result().
Parameters
See ldap_rename()
Return Values
Returns an LDAP result identifier or false
on error.
Changelog
Version | Description |
---|---|
8.0.0 | controls is nullable now; previously, it defaulted to [] . |
7.3 | Support for controls added |
See Also
- ldap_rename() - Modify the name of an entry
- ldap_parse_result() - Extract information from result
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.ldap-rename-ext.php