PHP function array_fill()
Availability in versions: PHP 4.2.0
Filling the field with values
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$start_index |
int |
not | First index of the returned field. Only non-negative indices are supported. |
$num |
int |
not | Number of elements inserted |
$value |
mixed |
not |
Return values
array - modified array