array_fill()
function array_fill(int $start_index, int $count, mixed $value): array
Fill an array with values.
Parameters:
$start_index(int)$count(int)$value(mixed)
Returns: array
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how array_fill is implemented in the compiler, see the internals page.