import zend standard tests
[hiphop-php.git] / hphp / test / zend / bad / ext-standard-url / parse_url_basic_002.php.expectf
blob4cda5f7c3bebf0ef579fc2f86af66a58774eb2a2
1 --> 64.246.30.37   : NULL
2 --> http://64.246.30.37   : string(4) "http"
3 --> http://64.246.30.37/   : string(4) "http"
4 --> 64.246.30.37/   : NULL
5 --> 64.246.30.37:80/   : NULL
6 --> php.net   : NULL
7 --> php.net/   : NULL
8 --> http://php.net   : string(4) "http"
9 --> http://php.net/   : string(4) "http"
10 --> www.php.net   : NULL
11 --> www.php.net/   : NULL
12 --> http://www.php.net   : string(4) "http"
13 --> http://www.php.net/   : string(4) "http"
14 --> www.php.net:80   : NULL
15 --> http://www.php.net:80   : string(4) "http"
16 --> http://www.php.net:80/   : string(4) "http"
17 --> http://www.php.net/index.php   : string(4) "http"
18 --> www.php.net/?   : NULL
19 --> www.php.net:80/?   : NULL
20 --> http://www.php.net/?   : string(4) "http"
21 --> http://www.php.net:80/?   : string(4) "http"
22 --> http://www.php.net:80/index.php   : string(4) "http"
23 --> http://www.php.net:80/foo/bar/index.php   : string(4) "http"
24 --> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php   : string(4) "http"
25 --> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php?lots=1&of=2&parameters=3&too=4&here=5   : string(4) "http"
26 --> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/   : string(4) "http"
27 --> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php   : string(4) "http"
28 --> http://www.php.net:80/this/../a/../deep/directory   : string(4) "http"
29 --> http://www.php.net:80/this/../a/../deep/directory/   : string(4) "http"
30 --> http://www.php.net:80/this/is/a/very/deep/directory/../file.php   : string(4) "http"
31 --> http://www.php.net:80/index.php   : string(4) "http"
32 --> http://www.php.net:80/index.php?   : string(4) "http"
33 --> http://www.php.net:80/#foo   : string(4) "http"
34 --> http://www.php.net:80/?#   : string(4) "http"
35 --> http://www.php.net:80/?test=1   : string(4) "http"
36 --> http://www.php.net/?test=1&   : string(4) "http"
37 --> http://www.php.net:80/?&   : string(4) "http"
38 --> http://www.php.net:80/index.php?test=1&   : string(4) "http"
39 --> http://www.php.net/index.php?&   : string(4) "http"
40 --> http://www.php.net:80/index.php?foo&   : string(4) "http"
41 --> http://www.php.net/index.php?&foo   : string(4) "http"
42 --> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI   : string(4) "http"
43 --> www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : NULL
44 --> http://secret@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(4) "http"
45 --> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(4) "http"
46 --> http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(4) "http"
47 --> http://secret:hideout@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(4) "http"
48 --> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(4) "http"
49 --> http://secret:hid:out@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(4) "http"
50 --> nntp://news.php.net   : string(4) "nntp"
51 --> ftp://ftp.gnu.org/gnu/glic/glibc.tar.gz   : string(3) "ftp"
52 --> zlib:http://foo@bar   : string(4) "zlib"
53 --> zlib:filename.txt   : string(4) "zlib"
54 --> zlib:/path/to/my/file/file.txt   : string(4) "zlib"
55 --> foo://foo@bar   : string(3) "foo"
56 --> mailto:me@mydomain.com   : string(6) "mailto"
57 --> /foo.php?a=b&c=d   : NULL
58 --> foo.php?a=b&c=d   : NULL
59 --> http://user:passwd@www.example.com:8080?bar=1&boom=0   : string(4) "http"
60 --> file:///path/to/file   : string(4) "file"
61 --> file://path/to/file   : string(4) "file"
62 --> file:/path/to/file   : string(4) "file"
63 --> http://1.2.3.4:/abc.asp?a=1&b=2   : string(4) "http"
64 --> http://foo.com#bar   : string(4) "http"
65 --> scheme:   : string(6) "scheme"
66 --> foo+bar://baz@bang/bla   : string(7) "foo+bar"
67 --> gg:9130731   : string(2) "gg"
68 --> http://user:@pass@host/path?argument?value#etc   : string(4) "http"
69 --> http://10.10.10.10/:80   : string(4) "http"
70 --> http://x:?   : string(4) "http"
71 --> x:blah.com   : string(1) "x"
72 --> x:/blah.com   : string(1) "x"
73 --> x://::abc/?   : bool(false)
74 --> http://::?   : string(4) "http"
75 --> x://::6.5   : string(1) "x"
76 --> http://?:/   : string(4) "http"
77 --> http://@?:/   : string(4) "http"
78 --> file:///:   : string(4) "file"
79 --> file:///a:/   : string(4) "file"
80 --> file:///ab:/   : string(4) "file"
81 --> file:///a:/   : string(4) "file"
82 --> file:///@:/   : string(4) "file"
83 --> file:///:80/   : string(4) "file"
84 --> []   : NULL
85 --> http://[x:80]/   : string(4) "http"
86 -->    : NULL
87 --> /   : NULL
88 --> http:///blah.com   : bool(false)
89 --> http://:80   : bool(false)
90 --> http://user@:80   : bool(false)
91 --> http://user:pass@:80   : bool(false)
92 --> http://:   : bool(false)
93 --> http://@/   : bool(false)
94 --> http://@:/   : bool(false)
95 --> http://:/   : bool(false)
96 --> http://?   : bool(false)
97 --> http://?:   : bool(false)
98 --> http://:?   : bool(false)
99 --> http://blah.com:123456   : bool(false)
100 --> http://blah.com:abcdef   : bool(false)
101 Done