Page MenuHomePhorge

function phutil_utf8_strtr($str, $map)
Arcanist Technical Documentation ()

Replace characters in a string in a UTF-aware way. Similar to strtr().

Parameters
string$strUTF-8 input string.
map<string,$mapstring> Map of characters to replace.
Return
stringInput with translated characters.