note 115432 added to function.fputcsv
| From: | mike at fatica dot net | Date: | Tue, 22 Jul 2014 15:51:08 +0000 |
| Subject: | note 115432 added to function.fputcsv | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-200027@lists.php.net to get a copy of this message | ||
We had a function that wrote a single line CSV. I noticed that with enabling
auto_detect_line_endings, fputcsv would not write a newline at the end of the file.
Enabling auto_detect_line_endings changed the fputcsv behavior to include a newline.
----
Server IP: 72.52.91.14
Probable Submitter: 67.164.191.181
----
Manual Page -- http://php.net/manual/en/function.fputcsv.php
Edit -- https://master.php.net/note/edit/115432
Del: integrated -- https://master.php.net/note/delete/115432/integrated
Del: useless -- https://master.php.net/note/delete/115432/useless
Del: bad code -- https://master.php.net/note/delete/115432/bad+code
Del: spam -- https://master.php.net/note/delete/115432/spam
Del: non-english -- https://master.php.net/note/delete/115432/non-english
Del: in docs -- https://master.php.net/note/delete/115432/in+docs
Del: other reasons-- https://master.php.net/note/delete/115432
Reject -- https://master.php.net/note/reject/115432
Search -- https://master.php.net/manage/user-notes.php