note 113198 deleted from splfileobject.getcsvcontrol by peehaa
| From: | peehaa@php.net | Date: | Wed, 11 Sep 2013 20:12:48 +0000 |
| Subject: | note 113198 deleted from splfileobject.getcsvcontrol by peehaa | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-196233@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
Seems that this function always returns the same delimiter.
<?php
file_put_contents("A;B;C;D\n0;0;0;0", "test.txt");
$file = new SplFileObject("test.txt");
var_dump($file->getCsvControl());
?>
array(2) {
[0]=>
string(1) ","
[1]=>
string(1) """
}