I know the function count()
of php,
but what's the function for counting how often a value appear in an array?
Example:
$array = array(
[0] => 'Test',
[1] => 'Tutorial',
[2] => 'Video',
[3] => 'Test',
[4] => 'Test'
);
Now I want to count how often "Test" appears.