function phutil_utf8_strtr($str, $map)Arcanist Technical Documentation ()
function phutil_utf8_strtr($str, $map)
Arcanist Technical Documentation ()
Replace characters in a string in a UTF-aware way. Similar to strtr().
Parameters
| string | $str | UTF-8 input string. |
| map<string, | $map | string> Map of characters to replace. |
Return
| string | Input with translated characters. |
- Defined
- src/utils/utf8.php:834