original_string: private function baseToLowercase()
      {
          if (($host = parse_url($this->uri, PHP_URL_HOST)) === null) {
              return $this->uri;
          }
          $pos = strpos($this->uri, $host) + strlen($host);
          return $this->uri = substr_replace($this->uri, strtolower(substr($this->uri, 0, $pos)), 0, $pos);
      }
code: private function baseToLowercase()
      {
          if (($host = parse_url($this->uri, PHP_URL_HOST)) === null) {
              return $this->uri;
          }
          $pos = strpos($this->uri, $host) + strlen($host);
          return $this->uri = substr_replace($this->uri, strtolower(substr($this->uri, 0, $pos)), 0, $pos);
      }
code_tokens: private function baseToLowercase ( ) { if ( ( $ host = parse_url ( $ this -> uri , PHP_URL_HOST ) ) === null ) { return $ this -> uri ; } $ pos = strpos ( $ this -> uri , $ host ) + strlen ( $ host ) ; return $ this -> uri = substr_replace ( $ this -> uri , strtolower ( substr ( $ this -> uri , 0 , $ pos ) ) , 0 , $ pos ) ; }
docstring: Base uri to lowercase
  
  @return string
docstring_tokens: Base uri to lowercase