array_fill
Fill an array with values
&reftitle.description;
arrayarray_fill
intstart_index
intnum
mixedvalue
Fills an array with
num entries of the value of the
value parameter, keys starting at the
start_index parameter.
&reftitle.parameters;
start_index
The first index of the returned array
num
Number of elements to insert
value
Values to use filling
&reftitle.returnvalues;
Returns the filled array
&reftitle.errors;
Throws a E_WARNING if num is
less than one.
&reftitle.examples;
array_fill example
]]>
&example.outputs;
banana
[6] => banana
[7] => banana
[8] => banana
[9] => banana
[10] => banana
)
]]>
&reftitle.seealso;
str_repeat
range