so,I have a pattern and using Preg_match_all I get my matches into the variable $matches[$x][$y].I want to know how many matches I have,how do I do that?how do I number the matches of my pattern?
$array[3][4][] = 'sdsdfsd'; $array[3][4][] = 'sdsdfsd'; $array[3][4][] = 'sdsdfsd'; echo count($array[3][4]); //Will print "3"; PHP: Peace,