PHP - return the words that show up the most inside a string

Axis

New Member
\[code\]$string = 'I like banana, banana souffle, chocobanana and marshmellows.";$arr = some_function($string); // $arr = ('banana'=>3,'I'=>1,'like'=>1....);\[/code\]do you have an idea how to do this most efficiently?
 
Back
Top