PHP » GoLang |
login |
register |
about
|
GoLang array_count_valuesGoLang replacement for PHP's array_count_values [Golang Play | edit | history]
array_count_values(PHP 4, PHP 5, PHP 7) array_count_values — Counts all the values of an array Description
array array_count_values
( array
$array
)
array_count_values() returns an array using
the values of Parameters
Return Values
Returns an associative array of values from Examples
Example #1 array_count_values() example
<?phpThe above example will output:
Array
(
[1] => 2
[hello] => 2
[world] => 1
)
See Also
|
more
Most requested
more
Last requests
|