src/Fusonic/Linq/Linq.php
public static function range($start, $count)
    {
        if ($count < 0) {
            throw new OutOfRangeException('$count must be not be negative.');
        }

        return new Linq(range($start, $start + $count - 1));
    }
public static function range($start, $count)
    {
        if ($count < 0) {
            throw new OutOfRangeException('$count must be not be negative.');
        }

        return new Linq(range($start, $start + $count - 1));
    }
public static function range ( $ start , $ count ) { if ( $ count < 0 ) { throw new OutOfRangeException ( '$count must be not be negative.' ) ; } return new Linq ( range ( $ start , $ start + $ count - 1 ) ) ; }
Generates a sequence of integral numbers within a specified range.

@param int $start    The value of the first integer in the sequence.
@param int $count    The number of sequential integers to generate.
@return Linq    An sequence that contains a range of sequential int numbers.
@throws \OutOfRangeException
Generates a sequence of integral numbers within a specified range .