svn: /phpdoc/en/trunk/reference/filesystem/functions/ dirname.xml

From: Date: Wed, 17 Nov 2010 08:48:36 +0000
Subject: svn: /phpdoc/en/trunk/reference/filesystem/functions/ dirname.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7428@lists.php.net to get a copy of this message
kalle Wed, 17 Nov 2010 08:48:36 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=305449 Log: This also applies to dirname() -- bug #53262 Bug: http://bugs.php.net/53262 (Open) basename() cannot handle argument with special characters like french "ééé" Changed paths: U phpdoc/en/trunk/reference/filesystem/functions/dirname.xml Modified: phpdoc/en/trunk/reference/filesystem/functions/dirname.xml =================================================================== --- phpdoc/en/trunk/reference/filesystem/functions/dirname.xml 2010-11-17 08:47:14 UTC (rev 305448) +++ phpdoc/en/trunk/reference/filesystem/functions/dirname.xml 2010-11-17 08:48:36 UTC (rev 305449) @@ -117,6 +117,13 @@ </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 <function>dirname</function> in situations where the older functionality would have given you the empty string.

« previous php.doc.cvs (#7428) next »