Function __global->array_fill_keys
Definitions
sources_custom/phpstub.php
- Fill an array with values, specifying keys.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $keys | array | No | No | required parameter | N/A | N/A | Keys |
| $value | mixed | No | No | required parameter | N/A | N/A | Value to fill with |
Returns
- Filled array
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Fill an array with values, specifying keys.
*
* @param array $keys Keys
* @param mixed $value Value to fill with
* @return array Filled array
*/
function array_fill_keys(array $keys, $value) : array
* Fill an array with values, specifying keys.
*
* @param array $keys Keys
* @param mixed $value Value to fill with
* @return array Filled array
*/
function array_fill_keys(array $keys, $value) : array

