时间:2021-07-01 10:21:17 帮助过:18人阅读
ajsg 蓝本 草本
ajsv 莫要
ajsm 苹果机
ajsu 菒
ajsc 黄果树
ajsj 七星瓢虫
ajsu 菓
ajt 蓝
ajtl 蓝
ajth 蔓延 惹是生非
aagw 恭敬不如从命
ajsg 蓝本
ajsg 草本
ajth 蔓延 惹是生非
a 工
a 戈
aa 式
aaa 工
aaaa 工
aaar 菚
aad 式
aad 匞
aadk 匿
aadn 慝
aadw 萁
aadn 葚
$handle = @fopen("q.txt", "r");
if ($handle) {
while (!feof($handle)) {
$buffer = fgets($handle, 4096);
$data=explode(' ',trim($buffer));
$tap=trim(array_shift($data));
foreach($data as $v){
$encode = 'UTF-8';
$str_num = mb_strlen(trim($v),$encode);
$fname=$str_num>4?5:$str_num;
@file_put_contents($fname.".txt",$tap." ".trim($v)."\r\n",FILE_APPEND);
}
}
fclose($handle);
}
?>