php7 解析unicode方法
php7开始支持unicode
function parse($string) { $string = str_replace('\u', '}\u{', $string); $string = ltrim($string, "}"); $string.= "}"; echo $string; }
php7开始支持unicode
function parse($string) { $string = str_replace('\u', '}\u{', $string); $string = ltrim($string, "}"); $string.= "}"; echo $string; }
One thought on “php7 解析unicode方法”
真是学无止境!!