note 63693 added to function.dirname
| From: | php-general at lists dot php dot net | Date: | Tue, 28 Mar 2006 14:39:01 +0000 |
| Subject: | note 63693 added to function.dirname | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-106850@lists.php.net to get a copy of this message | ||
I have a problem with the function. In the description appears this example (without
"echo()" functions):
//before PHP 4.3.0
$uno=dirname('c:/'); // returned '.'
echo($uno);
//after PHP 4.3.0
$dos=dirname('c:/'); // returns 'c:'
echo($dos);
I have installed PHP 5.1.2. When I execute this example, the browser shows this:
..
I think that it must be, isn't it?:
c:c:
Thanks to all
----
Server IP: 130.206.1.5
Probable Submitter: 138.4.3.213
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.dirname.php
Edit -- http://master.php.net/note/edit/63693
Del: integrated -- http://master.php.net/note/delete/63693/integrated
Del: useless -- http://master.php.net/note/delete/63693/useless
Del: bad code -- http://master.php.net/note/delete/63693/bad+code
Del: spam -- http://master.php.net/note/delete/63693/spam
Del: non-english -- http://master.php.net/note/delete/63693/non-english
Del: in docs -- http://master.php.net/note/delete/63693/in+docs
Del: other reasons-- http://master.php.net/note/delete/63693
Reject -- http://master.php.net/note/reject/63693
Search -- http://master.php.net/manage/user-notes.php