array_fill - chung-leong/qb GitHub Wiki
array_fill - Fill an array with values
array array_fill( uint32 $start_index, uint32_t $num, mixed $value )
array_fill() fills an array with num entries of the value of the value parameter, starting at start_index. Entries prior to start_index will be set to zero.
Parameters:
start_index - The starting index.
num - Number of elements to set. Must be greater than zero.
value - Value to use for filling. It can be a scalar or a fixed-length array.
Return Value:
The filled array. The return value will have the length start_index + num.
Version
1.4 and above.