- PHP 手册
- 函数参考
- 其它服务
- LDAP
- LDAP 函数
ldap_8859_to_t61
(PHP 4 >= 4.0.2, PHP 5, PHP 7, PHP 8)
ldap_8859_to_t61 — Translate 8859 characters to t61 characters
说明
ldap_8859_to_t61(string$value
): string|false
Translate ISO-8859
characters to t61
characters.
This function is useful if you have to talk to a legacy
LDAPv2
server.
参数
-
value
-
The text to be translated.
返回值
Return the t61
translation of
value
, 或者在失败时返回 false
.
参见
- ldap_t61_to_8859() - Translate t61 characters to 8859 characters
User Contributed Notes 1 note
up down 0 faruq dot alavi at live dot de ¶12 years ago
Description:
ldap_8859_to_t61() assists in the conversion of strings between ISO 8859-1 and t61 encodings. If the string cannot be converted successfully, the function returns FALSE.
Example:
$converted = ldap_8859_to_t61($data);
echo $converted;
add a note
官方地址:https://www.php.net/manual/en/function.ldap-8859-to-t61.php