mirror of
https://github.com/php/php-src.git
synced 2026-04-22 23:48:14 +02:00
Fix name collisions in fputcsv tests
This commit is contained in:
@@ -25,7 +25,7 @@ various fgetcsv() functionality tests
|
||||
'aaa"\\"a","bbb"'
|
||||
);
|
||||
|
||||
$file = __DIR__ . 'fgetcsv.csv';
|
||||
$file = __DIR__ . '/fgetcsv.csv';
|
||||
@unlink($file);
|
||||
foreach ($list as $v) {
|
||||
$fp = fopen($file, "w");
|
||||
|
||||
@@ -26,7 +26,7 @@ $list = array (
|
||||
19 => '"\\""",aaa',
|
||||
);
|
||||
|
||||
$file = __DIR__ . 'fgetcsv.csv';
|
||||
$file = __DIR__ . '/fputcsv.csv';
|
||||
@unlink($file);
|
||||
|
||||
$fp = fopen($file, "w");
|
||||
|
||||
@@ -28,7 +28,7 @@ $list = array (
|
||||
19 => '"/""",aaa',
|
||||
);
|
||||
|
||||
$file = __DIR__ . 'fgetcsv.csv';
|
||||
$file = __DIR__ . '/fputcsv_variation15.csv';
|
||||
@unlink($file);
|
||||
|
||||
$fp = fopen($file, "w");
|
||||
|
||||
Reference in New Issue
Block a user