From:             [EMAIL PROTECTED]
Operating system: Win 2000Pro SP3
PHP version:      4.3.0RC2
PHP Bug Type:     Filesystem function related
Bug description:  dirname() behaviour changed

Hello.

Up to 4.2.3:


dirname("c:/");
// or
dirname("c:");
// both returned   '.'


in 4.3.0 RC2, we got now:


dirname("c:/");
// gives you   c:\
dirname("c:");
// gives you   c:


(i) I'm not sure that such path shall be used with dirname(). But after
all, why not? And in fact I used it.
(ii) What's the reason for that behaviour change?
(iii) As some of my classes are now broken, will this new behaviour become
the rule for the future?

Apache independent.
Standarts php.ini (recommended) and httpd.conf
Mozilla 1.2

Thanks.
-- 
Edit bug report at http://bugs.php.net/?id=20895&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20895&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20895&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20895&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20895&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20895&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20895&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20895&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20895&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20895&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20895&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20895&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20895&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20895&r=isapi

Reply via email to