note 102262 deleted from function.fputcsv by danbrown
| From: | danbrown@php.net | Date: | Fri, 04 Feb 2011 15:49:54 +0000 |
| Subject: | note 102262 deleted from function.fputcsv by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-176689@lists.php.net to get a copy of this message | ||
Note Submitter: schwarzenneger2000
----
It is not described what the "newline" is. Is this same as PHP_EOL or is it Unix/Win/Mac
newline? According to http://tools.ietf.org/html/rfc4180 the records should
be separated by CRLF but testing this function both on Windows (PHP_EOL = 0D0A) and Unix systems
(PHP_EOL = 0A) I get Unix newline 0A as the record separator.