public static function generate($seed, $count = 500, $min = 0, $max = 100) { $sequence = []; self::$seed = abs(crc32($seed)) % 999999 + 1; for ($i = 1; $i <= $count; $i++) { $sequence[] = self::numgen($min, $max); } return $sequence; }