note 113198 added to splfileobject.getcsvcontrol

From: Date: Wed, 11 Sep 2013 14:07:18 +0000
Subject: note 113198 added to splfileobject.getcsvcontrol
Groups: php.notes 
Request: Send a blank email to php-notes+get-196231@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/113198 Del: integrated -- https://master.php.net/note/delete/113198/integrated Del: useless -- https://master.php.net/note/delete/113198/useless Del: bad code -- https://master.php.net/note/delete/113198/bad+code Del: spam -- https://master.php.net/note/delete/113198/spam Del: non-english -- https://master.php.net/note/delete/113198/non-english Del: in docs -- https://master.php.net/note/delete/113198/in+docs Del: other reasons-- https://master.php.net/note/delete/113198 Reject -- https://master.php.net/note/reject/113198 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#196231) next »