ID: 15621 Updated by: [EMAIL PROTECTED] -Summary: directory with name '0' isn't listed Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Directory function related Operating System: Linux Redhat PHP Version: 4.1.1 New Comment:
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 You should use while (false !== ($file = readdir ($handle))) Previous Comments: ------------------------------------------------------------------------ [2002-02-19 09:10:54] [EMAIL PROTECTED] 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 this bug report at http://bugs.php.net/?id=15621&edit=1
