private static function serializeRange($start, $end) {
    if ($start < 0) {
      $range_str = sprintf('%d', $start);
    } else if (!isset($end)) {
      $range_str = sprintf("%d-", $start);
    } else {
      $range_str = sprintf("%d-%d", $start, $end);
    }
    return sprintf("bytes=%s", $range_str);
  }
private static function serializeRange($start, $end) {
    if ($start < 0) {
      $range_str = sprintf('%d', $start);
    } else if (!isset($end)) {
      $range_str = sprintf("%d-", $start);
    } else {
      $range_str = sprintf("%d-%d", $start, $end);
    }
    return sprintf("bytes=%s", $range_str);
  }
private static function serializeRange ( $ start , $ end ) { if ( $ start < 0 ) { $ range_str = sprintf ( '%d' , $ start ) ; } else if ( ! isset ( $ end ) ) { $ range_str = sprintf ( "%d-" , $ start ) ; } else { $ range_str = sprintf ( "%d-%d" , $ start , $ end ) ; } return sprintf ( "bytes=%s" , $ range_str ) ; }
Create the value for a range header from start and end byte values.

@param int $start The start byte for the range header.
@param mixed $end The end byte for the range header

@return string The range header value.

@access private
Create the value for a range header from start and end byte values .