X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fgh-issue6.phpt;h=470bfea01180e2709d396bdd52982e06bf728a2a;hp=3de34bd65fec8ff4964e42f073de7ad608d820a3;hb=cbfdc466d8a364445ba3389e876b7c7e7f0189b2;hpb=c3f7d34f18cd62956f241092c67a38edf246328d diff --git a/tests/gh-issue6.phpt b/tests/gh-issue6.phpt index 3de34bd..470bfea 100644 --- a/tests/gh-issue6.phpt +++ b/tests/gh-issue6.phpt @@ -7,9 +7,11 @@ url - unsafe characters echo "Test\n"; -echo (new http\Url("?__utma=1152894289.1017686999.9107388726.1439222726.1494721726.1&__utmb=115739289.1.10.1437388726&__utmc=115883619&__utmx=-&__utmz=115111289.14310476.1.1.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided)&__utmv=-&__utmk=112678937"))->query; +$url = new http\Url("?__utma=1152894289.1017686999.9107388726.1439222726.1494721726.1&__utmb=115739289.1.10.1437388726&__utmc=115883619&__utmx=-&__utmz=115111289.14310476.1.1.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided)&__utmv=-&__utmk=112678937"); +echo $url->query; echo "\n"; -echo (new http\Url("?id={\$id}"))->query; +$url = new http\Url("?id={\$id}"); +echo $url->query; echo "\n"; ?>