File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
ext/uri/tests/rfc3986/parsing Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11--TEST--
2- Test Uri\Rfc3986\Uri parsing - scheme - empty
2+ Test Uri\Rfc3986\Uri parsing - scheme - empty host
33--FILE--
44<?php
55
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Test Uri\Rfc3986\Uri parsing - scheme - only scheme
33--FILE--
44<?php
55
6- $ uri = Uri \Rfc3986 \Uri::parse ("http:// " );
6+ $ uri = Uri \Rfc3986 \Uri::parse ("http: " );
77
88var_dump ($ uri );
99var_dump ($ uri ->toRawString ());
@@ -19,7 +19,7 @@ object(Uri\Rfc3986\Uri)#%d (%d) {
1919 ["password"]=>
2020 NULL
2121 ["host"]=>
22- string(0) ""
22+ NULL
2323 ["port"]=>
2424 NULL
2525 ["path"]=>
@@ -29,5 +29,5 @@ object(Uri\Rfc3986\Uri)#%d (%d) {
2929 ["fragment"]=>
3030 NULL
3131}
32- string(7 ) "http:// "
33- string(7 ) "http:// "
32+ string(5 ) "http:"
33+ string(5 ) "http:"
You can’t perform that action at this time.
0 commit comments