Description
The following code:
<?php
require 'vendor/autoload.php';
$uri = new Uri\Rfc3986\Uri('https://example.com:');
var_dump($uri->getPort(), $uri->toRawString(), $uri->toString());
Resulted in this output:
NULL
string(20) "https://example.com:"
string(20) "https://example.com:"
But I expected this output instead:
NULL
string(20) "https://example.com:"
string(19) "https://example.com"
PHP Version
Operating System
No response
Description
The following code:
Resulted in this output:
But I expected this output instead:
PHP Version
Operating System
No response