Re: Re: Newbie: Question about filesize()
| From: | Lars Torben Wilson | Date: | Wed, 06 Feb 2002 23:35:10 +0000 |
| Subject: | Re: Re: Newbie: Question about filesize() | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83780@lists.php.net to get a copy of this message | ||
On Wed, 2002-02-06 at 07:27, Ben Crawford wrote:
> You also seem to have an extra equals. Your loop should read:
>
> while (false != ($file=readdir($handle))){
>
> It should come up as an error, but I'm not sure.
>
> Ben
No, that's the 'identical' operator, which returns true when its
operands are both equalivalent and of the same type:
http://www.php.net/manual/en/language.operators.comparison.php
Cheers,
Torben
--
Torben Wilson <torben@php.net>
http://www.thebuttlesschaps.com
http://www.hybrid17.com
http://www.inflatableeye.com
+1.604.709.0506