PHP Conference Nagoya 2025

ldap_8859_to_t61

(PHP 4 >= 4.0.2, PHP 5, PHP 7, PHP 8)

ldap_8859_to_t61Translate 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.

参见

添加备注

用户贡献的备注 1 note

up
3
faruq dot alavi at live dot de
14 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;
To Top