com php-src: Revert "Fixed test": ext/standard/tests/strings/ur l_t.phpt
| From: | Nikita Popov | Date: | Fri, 07 Oct 2016 22:43:36 +0000 |
| Subject: | com php-src: Revert "Fixed test": ext/standard/tests/strings/ur l_t.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-94861@lists.php.net to get a copy of this message | ||
Commit: bc3a0b82b82e54dabe688dcc37f8ada92771da0f
Author: Nikita Popov <nikic@php.net> Sat, 8 Oct 2016 00:43:36 +0200
Parents: 1c468ee044289661c8c4118a0653222596668432
Branches: PHP-5.6 PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bc3a0b82b82e54dabe688dcc37f8ada92771da0f
Log:
Revert "Fixed test"
This reverts commit a10d03ac166daba646b6023e0f12e9ee8040c909.
Changed paths:
M ext/standard/tests/strings/url_t.phpt
Diff:
diff --git a/ext/standard/tests/strings/url_t.phpt b/ext/standard/tests/strings/url_t.phpt
index 8fdddcb..e172061 100644
--- a/ext/standard/tests/strings/url_t.phpt
+++ b/ext/standard/tests/strings/url_t.phpt
@@ -575,7 +575,22 @@ $sample_urls = array (
string(16) "some_page_ref123"
}
---> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123:
bool(false)
+--> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123:
array(7) {
+ ["scheme"]=>
+ string(4) "http"
+ ["host"]=>
+ string(11) "www.php.net"
+ ["port"]=>
+ int(80)
+ ["user"]=>
+ string(14) "secret@hideout"
+ ["path"]=>
+ string(10) "/index.php"
+ ["query"]=>
+ string(31) "test=1&test2=char&test3=mixesCI"
+ ["fragment"]=>
+ string(16) "some_page_ref123"
+}
--> http://secret:hid:out@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123:
array(8) {
["scheme"]=>
@@ -744,7 +759,22 @@ $sample_urls = array (
string(7) "9130731"
}
---> http://user:@pass@host/path?argument?value#etc:
bool(false)
+--> http://user:@pass@host/path?argument?value#etc:
array(7) {
+ ["scheme"]=>
+ string(4) "http"
+ ["host"]=>
+ string(4) "host"
+ ["user"]=>
+ string(4) "user"
+ ["pass"]=>
+ string(5) "@pass"
+ ["path"]=>
+ string(5) "/path"
+ ["query"]=>
+ string(14) "argument?value"
+ ["fragment"]=>
+ string(3) "etc"
+}
string(4) "http"
string(11) "www.php.net"
int(80)