2000) || defined(HAVE_ORALDAP) function ldap_rename(LDAP $ldap, string $dn, string $new_rdn, string $new_parent, bool $delete_old_rdn, ?array $controls = null): bool {} function ldap_rename_ext(LDAP $ldap, string $dn, string $new_rdn, string $new_parent, bool $delete_old_rdn, ?array $controls = null): LDAPResult|false {} /** * @param array|string|int $value */ function ldap_get_option(LDAP $ldap, int $option, &$value = null): bool {} /** @param array|string|int|bool $value */ function ldap_set_option(?LDAP $ldap, int $option, $value): bool {} function ldap_count_references(LDAP $ldap, LDAPResult $result): int {} function ldap_first_reference(LDAP $ldap, LDAPResult $result): LDAPResultEntry|false {} function ldap_next_reference(LDAP $ldap, LDAPResultEntry $entry): LDAPResultEntry|false {} #ifdef HAVE_LDAP_PARSE_REFERENCE /** @param array $referrals */ function ldap_parse_reference(LDAP $ldap, LDAPResultEntry $entry, &$referrals): bool {} #endif #ifdef HAVE_LDAP_PARSE_RESULT /** * @param int $error_code * @param string $matched_dn * @param string $error_message * @param array $referrals * @param array $controls */ function ldap_parse_result(LDAP $ldap, LDAPResult $result, &$error_code, &$matched_dn = null, &$error_message = null, &$referrals = null, &$controls = null): bool {} #endif #endif #if defined(LDAP_API_FEATURE_X_OPENLDAP) && defined(HAVE_3ARG_SETREBINDPROC) function ldap_set_rebind_proc(LDAP $ldap, ?callable $callback): bool {} #endif #ifdef HAVE_LDAP_START_TLS_S function ldap_start_tls(LDAP $ldap): 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 string $response_data * @param string $response_oid */ function ldap_exop(LDAP $ldap, string $request_oid, ?string $request_data = null, ?array $controls = NULL, &$response_data = UNKNOWN, &$response_oid = null): LDAPResult|bool {} #endif #ifdef HAVE_LDAP_PASSWD /** * @param array $controls */ function ldap_exop_passwd(LDAP $ldap, string $user = "", string $old_password = "", string $new_password = "", &$controls = null): string|bool {} #endif #ifdef HAVE_LDAP_WHOAMI_S function ldap_exop_whoami(LDAP $ldap): string|false {} #endif #ifdef HAVE_LDAP_REFRESH_S function ldap_exop_refresh(LDAP $ldap, string $dn, int $ttl): int|false {} #endif #ifdef HAVE_LDAP_PARSE_EXTENDED_RESULT /** * @param string $response_data * @param string $response_oid */ function ldap_parse_exop(LDAP $ldap, LDAPResult $result, &$response_data = null, &$response_oid = null): bool {} #endif