Re: note 9480 added to readdir
| From: | J. M. Castagnetto | Date: | Mon, 06 Nov 2000 12:40:38 +0000 |
| Subject: | Re: note 9480 added to readdir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7446@lists.php.net to get a copy of this message | ||
Are you using the latest (4.0.3pl1) version of PHP?
It works OK w/ that version on RH 6.1 and Solaris 2.6
Your note will be removed. The notes to the manual is
not the place to put bug report, you will get another
email to this respect.
--- webmaster@vaporbeetle.com wrote:
> 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.
>
> http://www.php.net/manual/function.readdir.php
>
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> php-notes-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-notes-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
=====
--- Jesus M. Castagnetto (jcastagnetto@yahoo.com)
__________________________________________________
Do You Yahoo!?
Thousands of Stores. Millions of Products. All in one Place.
http://shopping.yahoo.com/