From b9c759964a86e054e3952ff5202a9e032f356bcf Mon Sep 17 00:00:00 2001 From: Arne Blankerts Date: Thu, 27 Oct 2005 21:20:26 +0000 Subject: [PATCH] added note for tripple slashes on file:// only git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@199381 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/url/functions/parse-url.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/reference/url/functions/parse-url.xml b/reference/url/functions/parse-url.xml index 65fd892496..6e789d9e8a 100644 --- a/reference/url/functions/parse-url.xml +++ b/reference/url/functions/parse-url.xml @@ -1,5 +1,5 @@ - + @@ -131,6 +131,13 @@ Array This function doesn't work with relative URLs. + + + parse_url is intended specifically for the purpose of parsing URLs and not URIs. + However, to comply with PHP's backwards compatibility requirenments it makes an exception for the + file:// scheme where tripple slashes (file:///...) are allowed. For any other scheme this is invalid. + +