projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge branch 'v3.1.x'
[m6w6/ext-http]
/
tests
/
url002.phpt
diff --git
a/tests/url002.phpt
b/tests/url002.phpt
index 704ede23aaa2add3674268122ad592923a0daac0..de336a7fa60e1c8236922f788d8ae8ad54b0e795 100644
(file)
--- a/
tests/url002.phpt
+++ b/
tests/url002.phpt
@@
-13,7
+13,7
@@
$u = "http://user:pass@www.example.com:8080/path/file.ext".
var_dump($u === (string) new http\Url($u));
$url = new http\Url($u,
var_dump($u === (string) new http\Url($u));
$url = new http\Url($u,
- array("path" => "changed", "query" => "foo=&added=this"),
+ array("path" => "changed", "query" => "
bar&
foo=&added=this"),
http\Url::JOIN_PATH |
http\Url::JOIN_QUERY |
http\Url::STRIP_AUTH |
http\Url::JOIN_PATH |
http\Url::JOIN_QUERY |
http\Url::STRIP_AUTH |
@@
-40,6
+40,6
@@
NULL
string(15) "www.example.com"
int(8080)
string(13) "/path/changed"
string(15) "www.example.com"
int(8080)
string(13) "/path/changed"
-string(
38) "more%5B0%5D=1&more%5B1%5D=2
&added=this"
+string(
47) "foo=&more%5B0%5D=1&more%5B1%5D=2&bar
&added=this"
NULL
DONE
NULL
DONE