/** * Created a unicode code point from a JS escaped unicode character * * @param array $match A regex match containing the 4 digit code referenced by the key `1` * @return string The U+{digits} unicode code point */ private static function makeUnicodeCodePoint($match) { return fUTF8::chr("U+" . $match[1]); }