mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
f07e214a3a
commit
c5168db28a
1 changed files with 7 additions and 0 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue