--TEST-- SplFileObject::fputcsv() with empty $escape --FILE-- fputcsv($record, ',', '"', ''); } $file->rewind(); foreach ($file as $line) { echo $line; } ?> ===DONE=== --EXPECT-- \ "\""" ===DONE===