Bug #15130 Updated: pathinfo reports extension as bar/baz for /foo/bar.bar/baz
| From: | irc-html@php.net | Date: | Mon, 21 Jan 2002 03:19:42 +0000 |
| Subject: | Bug #15130 Updated: pathinfo reports extension as bar/baz for /foo/bar.bar/baz | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-77630@lists.php.net to get a copy of this message | ||
ID: 15130
Updated by: irc-html
Reported By: phpnet@cuntbubble.com
Old Status: Open
Status: Bogus
Bug Type: Filesystem function related
Operating System: FreeBSD
PHP Version: 4.1.1
New Comment:
That's the correct output of pathinfo (and print_r).
See http://www.php.net/manual/en/function.pathinfo.php
Status -> Bogus
Previous Comments:
------------------------------------------------------------------------
[2002-01-20 20:27:56] phpnet@cuntbubble.com
Hi,
print_r(pathinfo("/foo/bar.bar/baz"));
Array (
[dirname] => /foo/bar.bar
[basename] => baz
[extension] => bar/baz
)
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=15130&edit=1