for this piece of code does anyone know why only the first $unuseful
word is replaced in the string?
$unuseful = array(" is ", " the ", " for ", " and ", " with "," that ", " this "," or ", ",",";","/","?","!",".");
$aux = str_replace($unuseful, " " , $statement);
"dude cost that free the dude the the "-> dude cost free dude the
"dude cost that free the dude the the the"-> dude cost free dude the the
Thanks in advance!