I would like to convert Unicode codepoint to character. Here is what I have tried:
$point = dechex(127468); // 1f1ec echo \"\\u{1f1ec}\"; // this w
You don't need to convert integer to hexadecimal string, instead use IntlChar::chr:
echo IntlChar::chr(127468);
Directly from docs of IntlChar::chr:
IntlChar::chr
Return Unicode character by code point value