how to fill array in for php code example Example: php array_fill array_fill ( int $start_index , int $num , mixed $value ) : array