Bug #15621: directory with name '0' isn't listed
| From: | chocobot at gmx dot de | Date: | Tue, 19 Feb 2002 14:10:54 +0000 |
| Subject: | Bug #15621: directory with name '0' isn't listed | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-580@lists.php.net to get a copy of this message | ||
From: chocobot@gmx.de
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