2 url parser multibyte/utf-8/topct
6 if (!defined("http\\Url::PARSE_TOIDN") or
7 die("skip need http\\Url::PARSE_TOIDN support");
15 "http://mike:paßwort@𐌀𐌁𐌂.it/for/€/?by=¢#ø"
18 foreach ($urls as $url) {
19 var_dump(new http\Url($url, null, http\Url::PARSE_MBUTF8|http\Url::PARSE_TOPCT|http\Url::PARSE_TOIDN));
25 object(http\Url)#%d (8) {
31 string(12) "pa%C3%9Fwort"
33 string(13) "xn--097ccd.it"
37 string(15) "/for/%E2%82%AC/"