11 s=b&i=0&e=&a[]=1&a[]=2
14 printf("%s\n", new http\Env\Url);
15 printf("%s\n", new http\Env\Url("other", "index"));
16 printf("%s\n", new http\Env\Url(array("scheme" => "https", "port" => 443)));
17 printf("%s\n", new http\Env\Url(array("path" => "/./up/../down/../././//index.php/.", "query" => null), null, http\Url::SANITIZE_PATH|http\Url::FROM_ENV));
18 printf("%s\n", new http\Env\Url(null, null, 0));
19 printf("%s\n", new http\Url(null, null, http\Url::FROM_ENV));
23 http://example.com:55555/?s=b&i=0&e=&a[]=1&a[]=2
24 http://example.com:55555/index?s=b&i=0&e=&a[]=1&a[]=2
25 https://example.com/?s=b&i=0&e=&a[]=1&a[]=2
26 http://example.com:55555/index.php/
27 http://example.com:55555/?s=b&i=0&e=&a[]=1&a[]=2
28 http://example.com:55555/?s=b&i=0&e=&a[]=1&a[]=2