1--TEST--
2SplFileObject::fgetcsv() with empty $escape
3--FILE--
4<?php
5$contents = <<<EOS
6"cell1","cell2\\","cell3","cell4"
7"\\\\\\line1
8line2\\\\\\"
9EOS;
10$file = new SplTempFileObject;
11$file->fwrite($contents);
12$file->rewind();
13while (($data = $file->fgetcsv(',', '"', ''))) {
14    print_r($data);
15}
16?>
17===DONE===
18--EXPECT--
19Array
20(
21    [0] => cell1
22    [1] => cell2\
23    [2] => cell3
24    [3] => cell4
25)
26Array
27(
28    [0] => \\\line1
29line2\\\
30)
31===DONE===
32