<?php $arr = Array ( 0 => 1 , 1 => 2 , 2 => 2 , 3 => 1 , 4 => 2 , 5 => 2, ) ; $temp = array_count_values($arr); echo array_search(max($temp), $temp);
You have javascript disabled. You will not be able to edit any code.