$str='字符串';
$AllNum = mb_strlen($str,'gbk').'<br>';
echo $AllNum;
$array=array();
$i=0;
$num=10;
for ($i;$i<$AllNum/66;$i++){
$start=66*$i;
$array[$i] = mb_substr($str,$start,66,'GB2312').'-----';//每66个字后面添加一个‘--------’
}
foreach ($array as $a)
{
echo $a;
}