--TEST-- Bug #68917 (parse_url fails on some partial urls) --FILE-- --EXPECT-- Array ( [host] => example.org [port] => 81 [path] => /hi [query] => a=b [fragment] => c=d ) Array ( [host] => example.org [path] => /hi [query] => a=b [fragment] => c=d )