From:             [EMAIL PROTECTED]
Operating system: Linux Redhat
PHP version:      4.1.1
PHP Bug Type:     Directory function related
Bug description:  directory with name '0' isn't listed

i have a directory containing other directories, including one named '0'.
I try to use "while ($file = readdir($handle))" to go throug all entries,
but none get listed! 
As soon as i rename that dir to something else, it works as expected.


-- 
Edit bug report at http://bugs.php.net/?id=15621&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15621&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15621&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15621&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15621&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15621&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15621&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15621&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=15621&r=submittedtwice

Reply via email to