diff --git a/reference/filesystem/constants.xml b/reference/filesystem/constants.xml index adbadb491d..18248848cf 100644 --- a/reference/filesystem/constants.xml +++ b/reference/filesystem/constants.xml @@ -1,5 +1,5 @@ - +
&reftitle.constants; &extension.constants; @@ -103,6 +103,17 @@ + + + PATHINFO_FILENAME + (integer) + + + + Since PHP 5.2.0. + + + FILE_USE_INCLUDE_PATH diff --git a/reference/filesystem/functions/pathinfo.xml b/reference/filesystem/functions/pathinfo.xml index fffbf30bf3..4f0236cfc8 100644 --- a/reference/filesystem/functions/pathinfo.xml +++ b/reference/filesystem/functions/pathinfo.xml @@ -1,5 +1,5 @@ - + @@ -24,9 +24,11 @@ You can specify which elements are returned with optional parameter options. It composes from PATHINFO_DIRNAME, - PATHINFO_BASENAME and - PATHINFO_EXTENSION. It defaults to return all - elements. This function returns string if not all elements are requested. + PATHINFO_BASENAME, + PATHINFO_EXTENSION and + PATHINFO_FILENAME (available since PHP 5.2.0). It + defaults to return all elements. This function returns string if not all + elements are requested.