[PHP-DEV] Enhancement to fputcsv

2021-03-18 Thread Cameron Hall
Hi internals, I sent an email[1] to the list about this in November, which didn't gain much traction. I've created a pull request[2] which adds an optional parameter for line endings to the fputcsv function. This enhancement addresses three issues on the bug tracker, all of which are about the fu

[PHP-DEV] fputcsv is not compliant with the CSV RFC

2020-11-14 Thread Cameron Hall
Hi internals, I've come across a small nuance recently noticing that the fputcsv function isn't compliant with the RFC because it uses LF as a line terminator instead of CRLF as per RFC 4810[1]. There are a few related bug reports already; #42357[4], #46367[2] and #62770[3]. I've created a pull r