|
SplFileObject::getCsvControlGet the delimiter, enclosure and escape character for CSV Warning
This function has been DEPRECATED as of PHP 8.6.0. Relying on this function is highly discouraged. Description
#[\Deprecated(since: '8.6')]
public array SplFileObject::getCsvControl()
Gets the delimiter, enclosure and escape character used for parsing CSV fields. ParametersThis function has no parameters. Return ValuesReturns an indexed array containing the delimiter, enclosure and escape character. Changelog
Examples
Example #1 SplFileObject::getCsvControl example The above example will output something similar to:
Array
(
[0] => ,
[1] => "
[2] => \
)
See Also
|