diff --git a/reference/filesystem/functions/pathinfo.xml b/reference/filesystem/functions/pathinfo.xml index 503643d29a..63fdf1b0a7 100644 --- a/reference/filesystem/functions/pathinfo.xml +++ b/reference/filesystem/functions/pathinfo.xml @@ -5,7 +5,7 @@ pathinfo Returns information about a file path - + &reftitle.description; @@ -60,6 +60,14 @@ dirname, basename, extension (if any), and filename. + + + If the path has more than one an extension, + PATHINFO_EXTENSION returns only the last one and + PATHINFO_FILENAME only strips the last one. + (see first example below). + + If the path does not have an extension, no @@ -68,7 +76,7 @@ - If options is present, returns a + If options is present, returns a string containing the requested element. @@ -163,13 +171,13 @@ NULL - pathinfo is locale aware, so for it to parse a path - containing multibyte characters correctly, the matching locale must be set using + pathinfo is locale aware, so for it to parse a path + containing multibyte characters correctly, the matching locale must be set using the setlocale function. - + &reftitle.seealso;