note 113199 added to splfileobject.getcsvcontrol
| From: | Anonymous | Date: | Wed, 11 Sep 2013 14:07:22 +0000 |
| Subject: | note 113199 added to splfileobject.getcsvcontrol | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-196232@lists.php.net to get a copy of this message | ||
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) """
}
----
Server IP: 69.147.83.199
Probable Submitter: 80.128.87.244
----
Manual Page -- http://php.net/manual/en/splfileobject.getcsvcontrol.php
Edit -- https://master.php.net/note/edit/113199
Del: integrated -- https://master.php.net/note/delete/113199/integrated
Del: useless -- https://master.php.net/note/delete/113199/useless
Del: bad code -- https://master.php.net/note/delete/113199/bad+code
Del: spam -- https://master.php.net/note/delete/113199/spam
Del: non-english -- https://master.php.net/note/delete/113199/non-english
Del: in docs -- https://master.php.net/note/delete/113199/in+docs
Del: other reasons-- https://master.php.net/note/delete/113199
Reject -- https://master.php.net/note/reject/113199
Search -- https://master.php.net/manage/user-notes.php