I\'m new in PHP
I have an array like this
$suspiciousList = array(
array (\"word\" => \"badword1\", \"score\" => 400, \"type\" => 1),
array
@f1ames : I'm using these following code to make it array.
$words = mb_strtolower($words, 'UTF-8');
$words = $this->removeUniCharCategories($words);
$words = explode(" ",$words);
//Remove empty Array !
$words = array_filter($words);
foreach ($words as &$value) {
$newWords[] = $value;
}
$words = $newWords;
But i'm still find the best sollution