mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
Revert "Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa."
This reverts commit 0510701474
.
This commit is contained in:
parent
b1bf524140
commit
83864b470b
@ -42,7 +42,7 @@ echo '$list = ';var_export($res);echo ";\n";
|
||||
|
||||
$fp = fopen($file, "r");
|
||||
$res = array();
|
||||
while($l=fgetcsv($fp, 0, ',', '"', '"'))
|
||||
while($l=fgetcsv($fp))
|
||||
{
|
||||
$res[] = join(',',$l);
|
||||
}
|
||||
@ -76,10 +76,10 @@ $list = array (
|
||||
13 => 'aaa,"""bbb """',
|
||||
14 => '"aaa""aaa""","""bbb""bbb"',
|
||||
15 => '"aaa""aaa""""""",bbb',
|
||||
16 => 'aaa,"""\\""bbb",ccc',
|
||||
17 => '"aaa""\\""a""","""bbb"""',
|
||||
18 => '"""\\""""","""aaa"""',
|
||||
19 => '"""\\""""""",aaa',
|
||||
16 => 'aaa,"""\\"bbb",ccc',
|
||||
17 => '"aaa""\\"a""","""bbb"""',
|
||||
18 => '"""\\"""","""aaa"""',
|
||||
19 => '"""\\"""""",aaa',
|
||||
);
|
||||
$list = array (
|
||||
0 => 'aaa,bbb',
|
||||
|
Loading…
Reference in New Issue
Block a user