您的位置: 首页 > IT文章 > php去重 逗号分隔的字符串 php去重 逗号分隔的字符串 分类: IT文章 • 2022-05-26 17:37:16 $newstr = implode(',',array_unique(explode(',',$newstr)));//去重