range
spatie/fork
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Create an array containing a range of elements
<?php range
(
string
|
int
|
float $start
,
string
|
int
|
float $end
,
int
|
float $step
=
1
): array