array_fill
reactphp/promise
Supported Versions: PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8
Fill an array with values
<?php array_fill
(
int $start_index
,
int $count
,
mixed $value
): array