Function __global->array_count_values
Definitions
sources_custom/phpstub.php
- Counts all the values of an array.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $input | array | No | No | required parameter | N/A | N/A | Input array |
Returns
- An array using the values of the input array as keys and their frequency in input as values
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Counts all the values of an array.
*
* @param array $input Input array
* @return array An array using the values of the input array as keys and their frequency in input as values
*/
function array_count_values(array $input) : array
* Counts all the values of an array.
*
* @param array $input Input array
* @return array An array using the values of the input array as keys and their frequency in input as values
*/
function array_count_values(array $input) : array

