mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
SplFileObject::setCsvControl() accepts an $escape parameter as of PHP 5.3.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339698 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
ceb9bcd643
commit
f15c877695
1 changed files with 26 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
<refentry xml:id="splfileobject.setcsvcontrol" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>SplFileObject::setCsvControl</refname>
|
||||
<refpurpose>Set the delimiter and enclosure character for CSV</refpurpose>
|
||||
<refpurpose>Set the delimiter, enclosure and escape character for CSV</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
|
@ -16,7 +16,7 @@
|
|||
<methodparam choice="opt"><type>string</type><parameter>escape</parameter><initializer>"\\"</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Sets the delimiter and enclosure character for parsing CSV fields.
|
||||
Sets the delimiter, enclosure and escape character for parsing CSV fields.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
@ -59,6 +59,30 @@
|
|||
</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.3.0</entry>
|
||||
<entry>
|
||||
Added the <parameter>escape</parameter> parameter.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue