Page MenuHomePhorge

function phutil_utf8_strtr($str, $map)
libphutil Technical Documentation (Core Utilities)

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.