We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf7fee2 commit 559529cCopy full SHA for 559529c
ext/uri/tests/004.phpt
@@ -5,12 +5,7 @@ uri
5
--FILE--
6
<?php
7
8
-try {
9
- new Uri\Rfc3986\Uri("");
10
-} catch (Uri\InvalidUriException $e) {
11
- echo $e->getMessage() . "\n";
12
-}
13
-
+var_dump(new Uri\Rfc3986\Uri(""));
14
var_dump(Uri\Rfc3986\Uri::parse(""));
15
16
try {
@@ -47,6 +42,24 @@ object(Uri\Rfc3986\Uri)#1 (8) {
47
42
["fragment"]=>
48
43
NULL
49
44
}
45
+object(Uri\Rfc3986\Uri)#1 (8) {
46
+ ["scheme"]=>
+ NULL
+ ["username"]=>
50
+ ["password"]=>
51
52
+ ["host"]=>
53
54
+ ["port"]=>
55
56
+ ["path"]=>
57
+ string(0) ""
58
+ ["query"]=>
59
60
+ ["fragment"]=>
61
62
+}
63
The specified URI is malformed (MissingSchemeNonRelativeUrl)
64
65
object(Uri\Rfc3986\Uri)#%d (%d) {
0 commit comments