(PHP 4, PHP 5)
convert_cyr_string — 将字符由一种 Cyrillic 字符转换成另一种
$str
, string $from
, string $to
)
此函数将给定的字符串从一种
Cyrillic 字符转换成另一种,返回转换之后的字符串。from
和 to
参数为单个字符,分别代表了源及目标
Cyrillic 字符集。支持的类型有:
Note: 此函数可安全用于二进制对象。
str
The string to be converted.
from
The source Cyrillic character set, as a single character.
to
The target Cyrillic character set, as a single character.
Supported characters are:
Returns the converted string.
Note: 此函数可安全用于二进制对象。