original_string: public function getURLQuery()
      {
          $qstr = '?';
  
          $params = $this->getParametersArray();
  
          $paramCount = count($params);
          $i = 0;
          foreach ($params as $key => $value) {
              if ($value === null) {
                  continue;
              }
  
              $qstr .= $key . '=' . rawurlencode($value);
  
              if ($i < $paramCount - 1) {
                  $qstr .= '&';
              }
  
              $i++;
          }
  
          return $qstr;
      }
code: public function getURLQuery()
      {
          $qstr = '?';
  
          $params = $this->getParametersArray();
  
          $paramCount = count($params);
          $i = 0;
          foreach ($params as $key => $value) {
              if ($value === null) {
                  continue;
              }
  
              $qstr .= $key . '=' . rawurlencode($value);
  
              if ($i < $paramCount - 1) {
                  $qstr .= '&';
              }
  
              $i++;
          }
  
          return $qstr;
      }
code_tokens: public function getURLQuery ( ) { $ qstr = '?' ; $ params = $ this -> getParametersArray ( ) ; $ paramCount = count ( $ params ) ; $ i = 0 ; foreach ( $ params as $ key => $ value ) { if ( $ value === null ) { continue ; } $ qstr .= $ key . '=' . rawurlencode ( $ value ) ; if ( $ i < $ paramCount - 1 ) { $ qstr .= '&' ; } $ i ++ ; } return $ qstr ; }
docstring: Builds a query string from an array and takes care of proper url-encoding
  
  @return string Query string including the '?'
docstring_tokens: Builds a query string from an array and takes care of proper url - encoding