Fixed bug #53262 (basename() cannot handle argument with special characters like french "ééé")

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305448 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kalle Sommer Nielsen 2010-11-17 08:47:14 +00:00
parent f07e214a3a
commit c5168db28a

View file

@ -119,6 +119,13 @@ echo "5) ".basename("/");
as "<literal>..</literal>".
</para>
</note>
<note>
<para>
<function>basename</function> is locale aware, so for it to see the
correct basename with multibyte character paths, the matching locale must
be set using the <function>setlocale</function> function.
</para>
</note>
</refsect1>
<refsect1 role="seealso">