public static function createUri(array $server = [])
    {
        $server += $_SERVER;
        $server = static::normalizeServer($server);
        $headers = static::marshalHeaders($server);

        return static::marshalUriFromServer($server, $headers);
    }
public static function createUri(array $server = [])
    {
        $server += $_SERVER;
        $server = static::normalizeServer($server);
        $headers = static::marshalHeaders($server);

        return static::marshalUriFromServer($server, $headers);
    }
public static function createUri ( array $ server = [ ] ) { $ server += $ _SERVER ; $ server = static :: normalizeServer ( $ server ) ; $ headers = static :: marshalHeaders ( $ server ) ; return static :: marshalUriFromServer ( $ server , $ headers ) ; }
Create a new Uri instance from the provided server data.

@param array $server Array of server data to build the Uri from.
$_SERVER will be added into the $server parameter.
@return \Psr\Http\Message\UriInterface New instance.
Create a new Uri instance from the provided server data .