public static function range($max, $start = 1, $step = 1)
    {
        if ($step < 1) {
            return [];
        }

        $array = [];
        for ($i = $start; $i <= $max; $i += $step) {
            $array[] = $i;
        }

        return $array;
    }