<?php
function create(){
$arr = [
'中文','1231','eassag',',2[/'
];
$str = "";
foreach (range(1, 4) as $vo) {
$str .= $arr[mt_rand(0,3)];
}
return $str;
}
$list = [];
foreach (range(1, 100000) as $key => $vo) {
$str = create();
if (strpos($str, '中文') !== false) {
$list[] = $str;
}
}
08-29
1196
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-27
470
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)