note 9480 rejected and deleted from readdir by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Mon, 06 Nov 2000 12:44:50 +0000 |
| Subject: | note 9480 rejected and deleted from readdir by jmcastagnetto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7451@lists.php.net to get a copy of this message | ||
Re: while (($file = readdir($handle))!==false) {
The above modification !== -> != was required when I tried to do a file listing on an empty
directory... it looped forever until I took the extra = sign out.