functionstr_split_unicode($str,$l=0){if($l>0){$ret=array();$len=mb_strlen($str,"UTF-8");for($i=0;$i<$len;$i+=$l){$ret[]=mb_substr($str,$i,$l,"UTF-8");}return$ret;}returnpreg_split("//u",$str,-1,PREG_SPLIT_NO_EMPTY);}$str='z十三';echostrlen($str)...
查看全文