4 <? include "skippif.inc"; ?>
12 printf("%s\n", new http\Url);
13 printf("%s\n", new http\Url("other", "index"));
14 printf("%s\n", new http\Url(array("scheme" => "https", "port" => 443)));
15 printf("%s\n", new http\Url(array("path" => "/./up/../down/../././//index.php/.", "query" => null)));
16 printf("%s\n", new http\Url(null, null, 0));
20 http://example.com:55555/?s=b&i=0&e=&a[]=1&a[]=2
21 http://example.com:55555/index?s=b&i=0&e=&a[]=1&a[]=2
22 https://example.com/?s=b&i=0&e=&a[]=1&a[]=2
23 http://example.com:55555/index.php/