SplFileObject::getCsvControl
Get the delimiter, enclosure and escape character for CSV
&reftitle.description;
public arraySplFileObject::getCsvControl
Gets the delimiter, enclosure and escape character used for parsing CSV fields.
&reftitle.parameters;
&no.function.parameters;
&reftitle.returnvalues;
Returns an indexed array containing the delimiter, enclosure and escape character.
&reftitle.changelog;
&Version;
&Description;
7.4.0
The escape character can now be an empty string.
7.0.10
Added the escape character to the returned array.
&reftitle.examples;
SplFileObject::getCsvControl example
getCsvControl());
?>
]]>
&example.outputs.similar;
,
[1] => "
[2] => \
)
]]>
&reftitle.seealso;
SplFileObject::setCsvControl
SplFileObject::fgetcsv