yohgaki         Sun May 26 22:16:09 2002 EDT

  Modified files:              
    /phpdoc/en/reference/filesystem/functions   fgetcsv.xml 
  Log:
  Added new parameter
  
  
Index: phpdoc/en/reference/filesystem/functions/fgetcsv.xml
diff -u phpdoc/en/reference/filesystem/functions/fgetcsv.xml:1.3 
phpdoc/en/reference/filesystem/functions/fgetcsv.xml:1.4
--- phpdoc/en/reference/filesystem/functions/fgetcsv.xml:1.3    Tue Apr 23 06:33:39 
2002
+++ phpdoc/en/reference/filesystem/functions/fgetcsv.xml        Sun May 26 22:16:07 
+2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
   <refentry id="function.fgetcsv">
    <refnamediv>
@@ -13,13 +13,18 @@
       <methodparam><type>int</type><parameter>fp</parameter></methodparam>
       <methodparam><type>int</type><parameter>length</parameter></methodparam>
       <methodparam 
choice="opt"><type>string</type><parameter>delimiter</parameter></methodparam>
+      <methodparam 
+choice="opt"><type>string</type><parameter>enclosure</parameter></methodparam>
      </methodsynopsis>
     <simpara>
      Similar to <function>fgets</function> except that
      <function>fgetcsv</function> parses the line it reads for fields
      in <acronym>CSV</acronym> format and returns an array containing
      the fields read.  The field delimiter is a comma, unless you
-     specify another delimiter with the optional third parameter.
+     specify another delimiter with the optional third parameter. The
+     enclosure character is double quote, unless it is
+     specified. <parameter>Delimiter</parameter> and
+     <parameter>enclosure</parameter> cannot be null and only first
+     character is used when they are specified.
     </simpara>
     <simpara>
      <parameter>Fp</parameter> must be a valid file pointer to a file
@@ -39,6 +44,9 @@
       A blank line in a CSV file will be returned as an array
       comprising a single &null; field, and will not be treated as an
       error.
+     </simpara>
+     <simpara>
+      <parameter>enclosure</parameter> is added from PHP 4.3.0.
      </simpara>
     </note>
     <example>


Reply via email to