对于这段代码,有谁知道为什么只$unuseful
替换字符串中的第一个单词?
$unuseful = array(" is ", " the ", " for ", " and ", " with "," that ", " this "," or ", ",",";","/","?","!",".");
$aux = str_replace($unuseful, " " , $statement);
"dude cost that free the dude the "-> dude cost free dude the
“dude cost that free the dude the the”-> dude cost free dude the the
提前致谢!