[PHP-DOC] cvs: phpdoc /de/functions dir.xml From: Thomas Schuermann (thomas.schuermann <email protected>)
Date: 08/15/00

tschuer Tue Aug 15 12:14:36 2000 EDT

  Modified files:
    /phpdoc/de/functions dir.xml
  Log:
  Some examples fixed regarding to bug # 5867
  
Index: phpdoc/de/functions/dir.xml
diff -u phpdoc/de/functions/dir.xml:1.5 phpdoc/de/functions/dir.xml:1.6
--- phpdoc/de/functions/dir.xml:1.5 Sun Jul 9 11:50:39 2000
+++ phpdoc/de/functions/dir.xml Tue Aug 15 12:14:36 2000
@@ -130,7 +130,7 @@
 $handle=opendir ('.');
 echo "Verzeichnis-Handle: $handle\n";
 echo "Dateien:\n";
-while ($file = readdir ($handle)) {
+while (false !== ($file = readdir ($handle))) {
     echo "$file\n";
 }
 closedir($handle);