没想到批量查找的方法 $match_keys =array(); foreach($b as $key=>$findme){ if(strpos($a,$findme) !==false){ $match_keys[]=$key; } } $match_keys = array_unique($match_keys);
没想到批量查找的方法