original_string: 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);
    }
code: 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);
    }
code_tokens: 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 ) ; }
docstring: 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
docstring_tokens: Create the value for a range header from start and end byte values .