diff --git a/reference/url/functions/parse-url.xml b/reference/url/functions/parse-url.xml index 89beeaccef..3274c1bcb4 100644 --- a/reference/url/functions/parse-url.xml +++ b/reference/url/functions/parse-url.xml @@ -61,8 +61,12 @@ &reftitle.returnvalues; On seriously malformed URLs, parse_url may return - &false;. Otherwise an associative array is returned, whose components may - be (at least one): + &false;. + + + If the component parameter is omitted, an + associative array is returned. At least one element will be + present within the array. Potential keys within this array are: @@ -107,8 +111,10 @@ - If the component parameter is specified a - string is returned instead of an array. + If the component parameter is specified, + parse_url returns a string instead of an + array. If the requested component doesn't exist within the + given URL, &null; will be returned.