Bug #3699 Updated: function readdir() error

From: Date: Mon, 22 May 2000 19:34:25 +0000
Subject: Bug #3699 Updated: function readdir() error
Groups: php.dev 
Request: Send a blank email to php-dev+get-19244@lists.php.net to get a copy of this message
ID: 3699 Updated by: hholzgra Reported By: xutian@mail.transfar.com Status: Closed Bug Type: Parser error Assigned To: Comments: yes, "0" evaluates to false so the loop is terminated try while (""!=($file = readdir($handle))) instead, that will do (bug closed until someone comes up with a filesystem where a filename may be all empty) Full Bug description available at: http://bugs.php.net/?id=3699

« previous php.dev (#19244) next »