Skip to content

Commit 83864b4

Browse files
committed
Revert "Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa."
This reverts commit 0510701.
1 parent b1bf524 commit 83864b4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ext/spl/tests/SplFileObject_fputcsv.phpt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ echo '$list = ';var_export($res);echo ";\n";
4242

4343
$fp = fopen($file, "r");
4444
$res = array();
45-
while($l=fgetcsv($fp, 0, ',', '"', '"'))
45+
while($l=fgetcsv($fp))
4646
{
4747
$res[] = join(',',$l);
4848
}
@@ -76,10 +76,10 @@ $list = array (
7676
13 => 'aaa,"""bbb """',
7777
14 => '"aaa""aaa""","""bbb""bbb"',
7878
15 => '"aaa""aaa""""""",bbb',
79-
16 => 'aaa,"""\\""bbb",ccc',
80-
17 => '"aaa""\\""a""","""bbb"""',
81-
18 => '"""\\""""","""aaa"""',
82-
19 => '"""\\""""""",aaa',
79+
16 => 'aaa,"""\\"bbb",ccc',
80+
17 => '"aaa""\\"a""","""bbb"""',
81+
18 => '"""\\"""","""aaa"""',
82+
19 => '"""\\"""""",aaa',
8383
);
8484
$list = array (
8585
0 => 'aaa,bbb',

0 commit comments

Comments
 (0)