svn: /phpdoc/en/trunk/reference/spl/splfileobject/ getcsvcontrol.xml
| From: | Christoph Michael Becker | Date: | Fri, 22 Jul 2016 13:35:09 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/spl/splfileobject/ getcsvcontrol.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14349@lists.php.net to get a copy of this message | ||
cmb Fri, 22 Jul 2016 13:35:09 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=339699
Log:
Fix #72646: SplFileObject::getCsvControl does not return the escape characters
Bug: https://bugs.php.net/72646 (Closed)
SplFileObject::getCsvControl does not return the escape characters
Changed paths:
U phpdoc/en/trunk/reference/spl/splfileobject/getcsvcontrol.xml
Modified: phpdoc/en/trunk/reference/spl/splfileobject/getcsvcontrol.xml
===================================================================
--- phpdoc/en/trunk/reference/spl/splfileobject/getcsvcontrol.xml 2016-07-22 12:14:32 UTC (rev
339698)
+++ phpdoc/en/trunk/reference/spl/splfileobject/getcsvcontrol.xml 2016-07-22 13:35:09 UTC (rev
339699)
@@ -4,7 +4,7 @@
<refentry xml:id="splfileobject.getcsvcontrol" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>SplFileObject::getCsvControl</refname>
- <refpurpose>Get the delimiter and enclosure character for CSV</refpurpose>
+ <refpurpose>Get the delimiter, enclosure and escape character for CSV</refpurpose>
</refnamediv>
<refsect1 role="description">
@@ -14,7 +14,7 @@
<void />
</methodsynopsis>
<para>
- Gets the delimiter and enclosure character used for parsing CSV fields.
+ Gets the delimiter, enclosure and escape character used for parsing CSV fields.
</para>
</refsect1>
@@ -26,10 +26,34 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Returns an indexed array containing the delimiter and enclosure character.
+ Returns an indexed array containing the delimiter, enclosure and escape character.
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>5.6.25, 7.0.10</entry>
+ <entry>
+ Added the escape character to the returned array.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -50,6 +74,7 @@
(
[0] => ,
[1] => "
+ [2] => \
)
]]>
</screen>