array_count_values

  • (PHP 4, PHP 5, PHP 7)
  • Counts all the values of an array