cvs: phpdoc /en/functions filesystem.xml /en/reference/filesystem/functions fgetcsv.xml

From: Date: Sun, 28 Mar 2004 18:04:16 +0000
Subject: cvs: phpdoc /en/functions filesystem.xml /en/reference/filesystem/functions fgetcsv.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969359793@lists.php.net to get a copy of this message
kennyt Sun Mar 28 13:04:16 2004 EDT Modified files: /phpdoc/en/functions filesystem.xml /phpdoc/en/reference/filesystem/functions fgetcsv.xml Log: Reverted two changes to the old functions/ directory and applied Rasmus' fix to en/reference/functions/fgetcsv.xml. http://cvs.php.net/diff.php/phpdoc/en/functions/filesystem.xml?r1=1.146&r2=1.147&ty=u Index: phpdoc/en/functions/filesystem.xml diff -u phpdoc/en/functions/filesystem.xml:1.146 phpdoc/en/functions/filesystem.xml:1.147 --- phpdoc/en/functions/filesystem.xml:1.146 Sun Mar 28 12:20:05 2004 +++ phpdoc/en/functions/filesystem.xml Sun Mar 28 13:04:14 2004 @@ -8,7 +8,7 @@ instead --> <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.146 $ --> +<!-- $Revision: 1.147 $ --> <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, ",")) !== FALSE) { +while ($data = fgetcsv ($fp, 1000, ",")) { $num = count ($data); print "<p> $num fields in line $row: <br>"; $row++; @@ -1959,7 +1959,7 @@ <methodparam><type>string</type><parameter>filename</parameter></methodparam> </methodsynopsis> <para> - Returns &true; if the filename exists and is a regular file, &false; otherwise. + Returns &true; if the filename exists and is a regular file. </para> <para> The results of this function are cached. See http://cvs.php.net/diff.php/phpdoc/en/reference/filesystem/functions/fgetcsv.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/filesystem/functions/fgetcsv.xml diff -u phpdoc/en/reference/filesystem/functions/fgetcsv.xml:1.9 phpdoc/en/reference/filesystem/functions/fgetcsv.xml:1.10 --- phpdoc/en/reference/filesystem/functions/fgetcsv.xml:1.9 Mon Dec 15 11:49:45 2003 +++ phpdoc/en/reference/filesystem/functions/fgetcsv.xml Sun Mar 28 13:04:15 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.fgetcsv"> <refnamediv> @@ -58,7 +58,7 @@ <?php $row = 1; $handle = fopen("test.csv", "r"); -while ($data = fgetcsv($handle, 1000, ",")) { +while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) { $num = count($data); echo "<p> $num fields in line $row: <br />\n"; $row++;

« previous php.doc (#969359793) next »