@@ -69,6 +69,7 @@ echo "Done";
6969--> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(4) "http"
7070--> http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(4) "http"
7171--> http://secret:hideout@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(4) "http"
72+ --> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(4) "http"
7273--> http://secret:hid:out@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(4) "http"
7374--> nntp://news.php.net : string(4) "nntp"
7475--> ftp://ftp.gnu.org/gnu/glic/glibc.tar.gz : string(3) "ftp"
@@ -89,6 +90,7 @@ echo "Done";
8990--> scheme: : string(6) "scheme"
9091--> foo+bar://baz@bang/bla : string(7) "foo+bar"
9192--> gg:9130731 : string(2) "gg"
93+ --> http://user:@pass@host/path?argument?value#etc : string(4) "http"
9294--> http://10.10.10.10/:80 : string(4) "http"
9395--> http://x:? : string(4) "http"
9496--> x:blah.com : string(1) "x"
@@ -97,8 +99,8 @@ echo "Done";
9799--> http://::? : string(4) "http"
98100--> http://::# : string(4) "http"
99101--> x://::6.5 : string(1) "x"
100- --> http://?:/ : string(4) "http"
101- --> http://@?:/ : string(4) "http"
102+ --> http://?:/ : bool(false)
103+ --> http://@?:/ : bool(false)
102104--> file:///: : string(4) "file"
103105--> file:///a:/ : string(4) "file"
104106--> file:///ab:/ : string(4) "file"
@@ -124,7 +126,4 @@ echo "Done";
124126--> http://:? : bool(false)
125127--> http://blah.com:123456 : bool(false)
126128--> http://blah.com:abcdef : bool(false)
127- --> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : bool(false)
128- --> http://user:@pass@host/path?argument?value#etc : bool(false)
129- --> http://foo.com\@bar.com : bool(false)
130129Done
0 commit comments