PHP 4.0 Bug #10219 Updated: the dir object created using dir() does not contain the last file in the dir

From: Date: Sat, 07 Apr 2001 01:23:50 +0000
Subject: PHP 4.0 Bug #10219 Updated: the dir object created using dir() does not contain the last file in the dir
Groups: php.dev 
Request: Send a blank email to php-dev+get-51081@lists.php.net to get a copy of this message
ID: 10219 Updated by: cnewbill Reported By: gopinath@kasenna.com Old-Status: Open Status: Closed Bug Type: Directory function related Assigned To: Comments: Can't reproduce with CVS version, try it first and if this still continues reopen the report. http://snaps.php.net/ -Chris Previous Comments: --------------------------------------------------------------------------- [2001-04-06 21:11:12] gopinath@kasenna.com $d = dir("/etc"); echo "Handle: ".$d->handle."<br>n"; echo "Path: ".$d->path."<br>n"; while($entry=$d->read()) { echo $entry."<br>n"; } $d->close(); It lists all but the last file in the directory. same result when I tried with opendir() and readdir() combination. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10219&edit=2

« previous php.dev (#51081) next »