rasmus          Sun Mar 28 12:20:05 2004 EDT

  Modified files:              
    /phpdoc/en/functions        filesystem.xml 
  Log:
  Fix for bug #27730
  
  
http://cvs.php.net/diff.php/phpdoc/en/functions/filesystem.xml?r1=1.145&r2=1.146&ty=u
Index: phpdoc/en/functions/filesystem.xml
diff -u phpdoc/en/functions/filesystem.xml:1.145 
phpdoc/en/functions/filesystem.xml:1.146
--- phpdoc/en/functions/filesystem.xml:1.145    Tue Jan  6 13:41:32 2004
+++ phpdoc/en/functions/filesystem.xml  Sun Mar 28 12:20:05 2004
@@ -8,7 +8,7 @@
      instead -->
 
      <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.145 $ -->
+<!-- $Revision: 1.146 $ -->
  <reference id="ref.filesystem">
   <title>Filesystem functions</title>
   <titleabbrev>Filesystem</titleabbrev>
@@ -562,7 +562,7 @@
 <![CDATA[
 $row = 1;
 $fp = fopen ("test.csv","r");
-while ($data = fgetcsv ($fp, 1000, ",")) {
+while (($data = fgetcsv ($fp, 1000, ",")) !== FALSE) {
     $num = count ($data);
     print "<p> $num fields in line $row: <br>";
     $row++;

Reply via email to