(PHP 7 >= 7.3.0)
ldap_rename_ext — Modify the name of an entry
$link_identifier
   , string $dn
   , string $newrdn
   , string $newparent
   , bool $deleteoldrdn
   [, array $serverctrls = array()
  ] ) : resourceDoes the same thing as ldap_rename() but returns the LDAP result resource to be parsed with ldap_parse_result().
See ldap_rename()
   Returns an LDAP result identifier or FALSE on error.