15 "s://mike@[0:0:0:0:0:FFFF:204.152.189.116]/foo",
18 foreach ($urls as $url) {
20 printf("\n%s\n", $url);
21 var_dump(new http\Url($url, null, 0));
22 } catch (Exception $e) {
23 echo $e->getMessage(),"\n";
32 http\Url::__construct(): Failed to parse hostinfo; expected ']' at pos 5 in '[a:80'
35 http\Url::__construct(): Failed to parse hostinfo; unexpected '[' at pos 0 in '[0]'
38 object(http\Url)#%d (8) {
57 s://mike@[0:0:0:0:0:FFFF:204.152.189.116]/foo
58 object(http\Url)#%d (8) {
66 string(24) "[::ffff:204.152.189.116]"