Function
array_fill
Synopsis
array_fill(int, int, mixed): array
- Area
Runtime\PS\Core\Arrays\Sets\array_fillareas
Description
array_fill returns an array of $count copies of $value, keyed from $start_index upwards. A $count below zero clamps to the empty array, which is also what a count of zero answers; php 8 raises a ValueError.
Usage
$value = array_fill($arguments);
$fn = array_fill(...);