From: [EMAIL PROTECTED]
Operating system: FreeBSD
PHP version: 4.1.1
PHP Bug Type: Filesystem function related
Bug description: pathinfo reports extension as bar/baz for /foo/bar.bar/baz
Hi,
print_r(pathinfo("/foo/bar.bar/baz"));
Array (
[dirname] => /foo/bar.bar
[basename] => baz
[extension] => bar/baz
)
--
Edit bug report at: http://bugs.php.net/?id=15130&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]