Skip to content

Commit fd7aa61

Browse files
committed
Merge branch 'PHP-7.2'
* PHP-7.2: fix test cleanup
2 parents f797e00 + 707b2a5 commit fd7aa61

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

ext/standard/tests/file/fputcsv_002.phpt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,13 @@ fputcsv($fp, $data);
1313

1414
var_dump($data);
1515

16-
@unlink($file);
17-
1816
?>
17+
--CLEAN--
18+
<?php
19+
$file = dirname(__FILE__) .'/fgetcsv-test.csv';
20+
unlink($file);
21+
?>
22+
1923
--EXPECTF--
2024
Notice: Array to string conversion in %s on line %d
2125
array(7) {

0 commit comments

Comments
 (0)