3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test_check = array(array("county"=>"Jackson", "state_name"=>"TN"), array("county"=>"Argile", "state_name"=>"TN"), array("county"=>"Jackson", "state_name"=>"TN"), array("county"=>"Jackson", "state_name"=>"MS")); foreach($test_check as $details) { $test[]=$details['county'] . " " . $details['state_name']; } $testb = array_count_values($test); arsort($testb);
Output for 4.3.0 - 7.1.0