"pppppp",2=>"他他他",3=>"aaaaa",4=>"你你你")如何将éé转化为英文我的最终目的就是分类成这样.ééopp,pppppp,aaaaa">
时间:2021-07-01 10:21:17 帮助过:38人阅读
$a = array(0=>"ééopp",1=>"pppppp",2=>"他他他",3=>"aaaaa",4=>"你你你");ééopp,pppppp,aaaaa
$t = preg_grep('/\w/', $a);
echo join(',', $t), PHP_EOL;
echo join(',', array_diff($a, $t));