public static createWithRange ( mixed $low, mixed $high, integer $step = 1 ) : |
||
$low | mixed | First value of the sequence |
$high | mixed | The sequence is ended upon reaching the end value |
$step | integer | Used as the increment between elements in the sequence |
return | The created array |
public static function createWithRange($low, $high, $step = 1)
{
return new static(range($low, $high, $step));
}