original_string: private function getParts($uri)
      {
          return ($parsed = parse_url($uri)) === false ? false : [
              'scheme' => isset($parsed['scheme']) ? $parsed['scheme'] . '://' : '',
              'host' => isset($parsed['host']) ? $parsed['host'] : $parsed['path'],
              'port' => isset($parsed['port']) ? ':' . $parsed['port'] : '',
          ];
      }
code: private function getParts($uri)
      {
          return ($parsed = parse_url($uri)) === false ? false : [
              'scheme' => isset($parsed['scheme']) ? $parsed['scheme'] . '://' : '',
              'host' => isset($parsed['host']) ? $parsed['host'] : $parsed['path'],
              'port' => isset($parsed['port']) ? ':' . $parsed['port'] : '',
          ];
      }
code_tokens: private function getParts ( $ uri ) { return ( $ parsed = parse_url ( $ uri ) ) === false ? false : [ 'scheme' => isset ( $ parsed [ 'scheme' ] ) ? $ parsed [ 'scheme' ] . '://' : '' , 'host' => isset ( $ parsed [ 'host' ] ) ? $ parsed [ 'host' ] : $ parsed [ 'path' ] , 'port' => isset ( $ parsed [ 'port' ] ) ? ':' . $ parsed [ 'port' ] : '' , ] ; }
docstring: Get URI parts
  
  @param string $uri
  @return string[]|false
docstring_tokens: Get URI parts