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 48f1824Copy full SHA for 48f1824
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 {
@@ -29,7 +24,25 @@ var_dump(Uri\WhatWg\Url::parse("http://RuPaul's Drag Race All Stars 7 Winners Ca
29
24
30
25
?>
31
26
--EXPECTF--
32
-object(Uri\Rfc3986\Uri)#1 (8) {
27
+object(Uri\Rfc3986\Uri)#%d (%d) {
28
+ ["scheme"]=>
+ NULL
+ ["username"]=>
+ ["password"]=>
33
34
+ ["host"]=>
35
36
+ ["port"]=>
37
38
+ ["path"]=>
39
+ string(0) ""
40
+ ["query"]=>
41
42
+ ["fragment"]=>
43
44
+}
45
46
["scheme"]=>
47
NULL
48
["username"]=>
0 commit comments