HI Im using preg_match_all
to find number of occurances in a text and saving in $results
from some reason the results will save a word as a key and than the number 0 as well
what am I missing here??
preg_match_all("/\b$word\b/", $text, $matches,PREG_PATTERN_ORDER);
$results[$word] = count($matches);