From:             [EMAIL PROTECTED]
Operating system: Linux 2.4
PHP version:      4.1.1
PHP Bug Type:     Unknown/Other Function
Bug description:  dir->read() class/function fails when directory contains 
subdirectory '0'

$d = dir('.');
while ($entry = $d->read()) {
 echo "$entry \n";
}
$d->close();

The above script works fine on mosth direcotries, but if the direcoty
contains a subdirectory "0", it stops as soon as it gets to it and only
outputs the . and .. entries.

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

Reply via email to