|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-07-22 15:33 UTC] nlopess@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 14:00:01 2025 UTC |
Description: ------------ The new constant PATHINFO_FILENAME was already added to the pathinfo() docs, but the example was not updated, yet. Index: en/reference/filesystem/functions/pathinfo.xml =================================================================== RCS file: /repository/phpdoc/en/reference/filesystem/functions/pathinfo.xml,v retrieving revision 1.11 diff -u -p -d -r1.11 pathinfo.xml --- en/reference/filesystem/functions/pathinfo.xml 17 Jul 2006 10:50:14 -0000 1.11 +++ en/reference/filesystem/functions/pathinfo.xml 22 Jul 2006 12:18:17 -0000 @@ -41,6 +41,7 @@ $path_parts = pathinfo('/www/htdocs/inde echo $path_parts['dirname'], "\n"; echo $path_parts['basename'], "\n"; echo $path_parts['extension'], "\n"; +echo $path_parts['filename'], "\n"; // since 5.2.0 ?> ]]> </programlisting> @@ -52,6 +53,7 @@ echo $path_parts['extension'], "\n"; /www/htdocs index.html html +index ]]> </screen> </example>