note 63693 deleted from function.dirname by betz
| From: | betz@php.net | Date: | Tue, 28 Mar 2006 18:15:33 +0000 |
| Subject: | note 63693 deleted from function.dirname by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-106860@lists.php.net to get a copy of this message | ||
Note Submitter:
----
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