array_count_values in php example Mirthbees 12 years ago Program: array_count_values.php: <?php $array=array(5,”naveen”,11,“indian”,”naveen”,5,”naveen”,”naveen”); print_r(array_count_values($array)); ?> Output: Thanks for reading this post…………..!!! Share this:Print