RTFM code snippet
| From: | mike cullerton | Date: | Fri, 11 Jan 2002 15:01:22 +0000 |
| Subject: | RTFM code snippet | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-80201@lists.php.net to get a copy of this message | ||
hey folks, hope the new year is treating everyone well.
i was RTFMing yesterday and ran across this piece of code
while (false !== ($file = readdir($handle))) {
which is similar to stuff i've done
while ($file = readdir($dir)) {
so, what am i not catching with my code, and what is really going on in the
RTFM code with the "false !==" part?
thanks y'all,
mike
-- mike cullerton