中文拼音排序

foreach ($res as &$val1) {
    $val1 = iconv('UTF-8', 'GBK', $val1);
}
arsort($res);
foreach ($res as &$val1) {
    $val1 = iconv('GBK', 'UTF-8', $val1);
}

posted on 2022-03-19 15:17  何苦->  阅读(31)  评论(0编辑  收藏  举报

导航