Test: /ext/standard/tests/url/parse_url_basic_008.phpt - Version 7.0.30    

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
001+ Fatal error: Uncaught Error: Call to undefined function import_module() in %s/parse_url_basic_008.php:11
002+ Stack trace:
003+ #0 {main}
004+ thrown in %s/parse_url_basic_008.php on line 11
001- --> 64.246.30.37 : NULL
002- --> http://64.246.30.37 : NULL
003- --> http://64.246.30.37/ : NULL
004- --> 64.246.30.37/ : NULL
005- --> 64.246.30.37:80/ : NULL
006- --> php.net : NULL
007- --> php.net/ : NULL
008- --> http://php.net : NULL
009- --> http://php.net/ : NULL
010- --> www.php.net : NULL
011- --> www.php.net/ : NULL
012- --> http://www.php.net : NULL
013- --> http://www.php.net/ : NULL
014- --> www.php.net:80 : NULL
015- --> http://www.php.net:80 : NULL
016- --> http://www.php.net:80/ : NULL
017- --> http://www.php.net/index.php : NULL
018- --> www.php.net/? : NULL
019- --> www.php.net:80/? : NULL
020- --> http://www.php.net/? : NULL
021- --> http://www.php.net:80/? : NULL
022- --> http://www.php.net:80/index.php : NULL
023- --> http://www.php.net:80/foo/bar/index.php : NULL
024- --> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php : NULL
025- --> 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(37) "lots=1&of=2&parameters=3&too=4&here=5"
026- --> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/ : NULL
027- --> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php : NULL
028- --> http://www.php.net:80/this/../a/../deep/directory : NULL
029- --> http://www.php.net:80/this/../a/../deep/directory/ : NULL
030- --> http://www.php.net:80/this/is/a/very/deep/directory/../file.php : NULL
031- --> http://www.php.net:80/index.php : NULL
032- --> http://www.php.net:80/index.php? : NULL
033- --> http://www.php.net:80/#foo : NULL
034- --> http://www.php.net:80/?# : NULL
035- --> http://www.php.net:80/?test=1 : string(6) "test=1"
036- --> http://www.php.net/?test=1& : string(7) "test=1&"
037- --> http://www.php.net:80/?& : string(1) "&"
038- --> http://www.php.net:80/index.php?test=1& : string(7) "test=1&"
039- --> http://www.php.net/index.php?& : string(1) "&"
040- --> http://www.php.net:80/index.php?foo& : string(4) "foo&"
041- --> http://www.php.net/index.php?&foo : string(4) "&foo"
042- --> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI : string(31) "test=1&test2=char&test3=mixesCI"
043- --> www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(31) "test=1&test2=char&test3=mixesCI"
044- --> http://secret@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(31) "test=1&test2=char&test3=mixesCI"
045- --> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(31) "test=1&test2=char&test3=mixesCI"
046- --> http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(31) "test=1&test2=char&test3=mixesCI"
047- --> http://secret:hideout@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(31) "test=1&test2=char&test3=mixesCI"
048- --> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(31) "test=1&test2=char&test3=mixesCI"
049- --> http://secret:hid:out@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(31) "test=1&test2=char&test3=mixesCI"
050- --> nntp://news.php.net : NULL
051- --> ftp://ftp.gnu.org/gnu/glic/glibc.tar.gz : NULL
052- --> zlib:http://foo@bar : NULL
053- --> zlib:filename.txt : NULL
054- --> zlib:/path/to/my/file/file.txt : NULL
055- --> foo://foo@bar : NULL
056- --> mailto:me@mydomain.com : NULL
057- --> /foo.php?a=b&c=d : string(7) "a=b&c=d"
058- --> foo.php?a=b&c=d : string(7) "a=b&c=d"
059- --> http://user:passwd@www.example.com:8080?bar=1&boom=0 : string(12) "bar=1&boom=0"
060- --> file:///path/to/file : NULL
061- --> file://path/to/file : NULL
062- --> file:/path/to/file : NULL
063- --> http://1.2.3.4:/abc.asp?a=1&b=2 : string(7) "a=1&b=2"
064- --> http://foo.com#bar : NULL
065- --> scheme: : NULL
066- --> foo+bar://baz@bang/bla : NULL
067- --> gg:9130731 : NULL
068- --> http://user:@pass@host/path?argument?value#etc : string(14) "argument?value"
069- --> http://10.10.10.10/:80 : NULL
070- --> http://x:? : NULL
071- --> x:blah.com : NULL
072- --> x:/blah.com : NULL
073- --> x://::abc/? : bool(false)
074- --> http://::? : NULL
075- --> http://::# : NULL
076- --> x://::6.5 : NULL
077- --> http://?:/ : bool(false)
078- --> http://@?:/ : bool(false)
079- --> file:///: : NULL
080- --> file:///a:/ : NULL
081- --> file:///ab:/ : NULL
082- --> file:///a:/ : NULL
083- --> file:///@:/ : NULL
084- --> file:///:80/ : NULL
085- --> [] : NULL
086- --> http://[x:80]/ : NULL
087- --> : NULL
088- --> / : NULL
089- --> /rest/Users?filter={"id":"123"} : string(19) "filter={"id":"123"}"
090- --> http:///blah.com : bool(false)
091- --> http://:80 : bool(false)
092- --> http://user@:80 : bool(false)
093- --> http://user:pass@:80 : bool(false)
094- --> http://: : bool(false)
095- --> http://@/ : bool(false)
096- --> http://@:/ : bool(false)
097- --> http://:/ : bool(false)
098- --> http://? : bool(false)
099- --> http://# : bool(false)
100- --> http://?: : bool(false)
101- --> http://:? : bool(false)
102- --> http://blah.com:123456 : bool(false)
103- --> http://blah.com:abcdef : bool(false)
104- Done