(PHP 4, PHP 5, PHP 7)
convert_cyr_string — Convert from one Cyrillic character set to another
This function has been DEPRECATED as of PHP 7.4.0, and REMOVED as of PHP 8.0.0. Relying on this function is highly discouraged.
convert_cyr_string(string $str, string $from, string $to): string
Converts from one Cyrillic character set to another.
strThe string to be converted.
fromThe source Cyrillic character set, as a single character.
toThe target Cyrillic character set, as a single character.
Supported characters are:
Returns the converted string.
| Version | Description |
|---|---|
| 8.0.0 | Removed this function. |
| 7.4.0 | Deprecated this function. |
Note: This function is binary-safe.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.convert-cyr-string.php