1--TEST--
2fputcsv() with empty $escape
3--FILE--
4<?php
5$data = array(
6    ['\\'],
7    ['\\"']
8);
9$stream = fopen('php://memory', 'w+');
10foreach ($data as $record) {
11    fputcsv($stream, $record, ',', '"', '');
12}
13rewind($stream);
14echo stream_get_contents($stream);
15fclose($stream);
16?>
17===DONE===
18--EXPECT--
19\
20"\"""
21===DONE===
22