2000) || HAVE_NSLDAP || HAVE_ORALDAP /** @param resource $link_identifier */ function ldap_rename($link_identifier, string $dn, string $newrdn, string $newparent, bool $deleteoldrdn, array $servercontrols = []): bool {} /** * @param resource $link_identifier * @return resource|false */ function ldap_rename_ext($link_identifier, string $dn, string $newrdn, string $newparent, bool $deleteoldrdn, array $servercontrols = []) {} /** @param resource $link_identifier */ function ldap_get_option($link_identifier, int $option, &$retval = null): bool {} /** @param ?resource $link_identifier */ function ldap_set_option($link_identifier, int $option, $newval): bool {} /** * @param resource $link * @param resource $result * @return resource|false */ function ldap_first_reference($link, $result) {} /** * @param resource $link * @param resource $entry * @return resource|false */ function ldap_next_reference($link, $entry) {} #ifdef HAVE_LDAP_PARSE_REFERENCE /** * @param resource $link * @param resource $entry */ function ldap_parse_reference($link, $entry, &$referrals): bool {} #endif #ifdef HAVE_LDAP_PARSE_RESULT /** * @param resource $link * @param resource $result */ function ldap_parse_result($link, $result, &$errcode, &$matcheddn = null, &$errmsg = null, &$referrals = null, &$serverctrls = null): bool {} #endif #endif #if defined(LDAP_API_FEATURE_X_OPENLDAP) && defined(HAVE_3ARG_SETREBINDPROC) /** * @param resource $link * @param callable $callback */ function ldap_set_rebind_proc($link, $callback): bool {} #endif #ifdef HAVE_LDAP_START_TLS_S function ldap_start_tls($link_identifier): bool {} #endif function ldap_escape(string $value, string $ignore = '', int $flags = 0): string {} #ifdef STR_TRANSLATION function ldap_t61_to_8859(string $value): string|false {} function ldap_8859_to_t61(string $value): string|false {} #endif #ifdef HAVE_LDAP_EXTENDED_OPERATION_S /** * @param resource $link * @return resource|bool */ function ldap_exop($link, string $reqoid, ?string $reqdata = null, ?array $servercontrols = [], &$retdata = null, &$retoid = null) {} #endif #ifdef HAVE_LDAP_PASSWD /** @param resource $link */ function ldap_exop_passwd($link, string $user = '', string $oldpw = '', string $newpw = '', &$serverctrls = null): string|bool {} #endif #ifdef HAVE_LDAP_WHOAMI_S /** @param resource $link */ function ldap_exop_whoami($link): string|bool {} #endif #ifdef HAVE_LDAP_REFRESH_S /** @param resource $link */ function ldap_exop_refresh($link, string $dn, $ttl): int|false {} #endif #ifdef HAVE_LDAP_PARSE_EXTENDED_RESULT /** * @param resource $link * @param resource $result */ function ldap_parse_exop($link, $result, &$retdata = null, &$retoid = null): bool {} #endif