diff --git a/reference/url/functions/parse-url.xml b/reference/url/functions/parse-url.xml index 8a81f60e5474..78d07261f3e8 100644 --- a/reference/url/functions/parse-url.xml +++ b/reference/url/functions/parse-url.xml @@ -24,6 +24,15 @@ URLs are also accepted, parse_url tries its best to parse them correctly. + + + This function may not give correct results for relative or invalid URLs, + and the results may not even match common behavior of HTTP clients. + If URLs from untrusted input need to be parsed, extra validation is + required, e.g. by using filter_var with the + FILTER_VALIDATE_URL filter. + + @@ -252,15 +261,6 @@ array(3) { &reftitle.notes; - - - This function may not give correct results for relative or invalid URLs, - and the results may not even match common behavior of HTTP clients. - If URLs from untrusted input need to be parsed, extra validation is - required, e.g. by using filter_var with the - FILTER_VALIDATE_URL filter. - - This function is intended specifically for the purpose of parsing URLs