This also applies to dirname() -- bug #53262

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

View file

@ -115,6 +115,13 @@ echo "3) ".dirname(".");
as "<literal>..</literal>".
</para>
</note>
<note>
<para>
<function>dirname</function> is locale aware, so for it to see the
correct directory name with multibyte character paths, the matching locale must
be set using the <function>setlocale</function> function.
</para>
</note>
<note>
<para>
Since PHP 4.3.0, you will often get a slash or a dot back from