$str="aa,bb,cc,ddd,eee";
if(strstr($str,‘cc’)){
echo '包含';
}
转载于:https://www.cnblogs.com/hgj123/p/3912533.html