ID:               50628
 Updated by:       [email protected]
 Reported By:      ninive at gmx dot at
-Status:           Open
+Status:           Bogus
 Bug Type:         Directory function related
 Operating System: Linux 2.6.31
 PHP Version:      5.2.12
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

[j...@bfit ~]$ dirname /hugo/
/
[j...@bfit ~]$ dirname /hugo
/



Previous Comments:
------------------------------------------------------------------------

[2010-01-01 19:11:29] ninive at gmx dot at

Description:
------------
dirname("/hugo/") -> "/"

Reproduce code:
---------------
echo dirname("/hugo/")

Expected result:
----------------
"/hugo"

Actual result:
--------------
"/"


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=50628&edit=1

Reply via email to