http://www.php.net/manual/en/function.readdir.php
/ This is the correct way to loop over the directory. /
while (false !== ($file = readdir($handle))) {
/ This is the WRONG way to loop over the directory. /
while ($file = readdir($handle)) {
WHY is while ($file = readdir($handle)) { WRONG?
Only rationale answers, please.