note 65162 added to function.pathinfo
| From: | php at lanar dot com dot au | Date: | Tue, 25 Apr 2006 20:19:10 +0000 |
| Subject: | note 65162 added to function.pathinfo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-109693@lists.php.net to get a copy of this message | ||
If the file does not have an extension, the 'extension' key in the returned array does not
exist. (In the windows environment at least).
e.g.
\php\php -r "print_r(pathinfo('/path/file'));"
Array
(
[dirname] => /path
[basename] => file
)
----
Server IP: 203.220.0.234
Probable Submitter: 220.237.187.216
----
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.pathinfo.php
Edit -- http://master.php.net/note/edit/65162
Del: integrated -- http://master.php.net/note/delete/65162/integrated
Del: useless -- http://master.php.net/note/delete/65162/useless
Del: bad code -- http://master.php.net/note/delete/65162/bad+code
Del: spam -- http://master.php.net/note/delete/65162/spam
Del: non-english -- http://master.php.net/note/delete/65162/non-english
Del: in docs -- http://master.php.net/note/delete/65162/in+docs
Del: other reasons-- http://master.php.net/note/delete/65162
Reject -- http://master.php.net/note/reject/65162
Search -- http://master.php.net/manage/user-notes.php