Skip to content

Commit e4e4040

Browse files
committed
Fix test
1 parent 50d8809 commit e4e4040

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/phar/tests/phar_oo_008.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class MyCSVFile2 extends SplFileObject
6565
function getCurrentLine(): string
6666
{
6767
echo __METHOD__ . "\n";
68-
return (string) parent::fgetcsv(',', '"');
68+
return implode('|', parent::fgetcsv(',', '"'));
6969
}
7070
}
7171

@@ -75,7 +75,7 @@ $v = $phar['a.csv'];
7575
echo "===6===\n";
7676
foreach($v as $k => $d)
7777
{
78-
echo "$k=>" . join('|',$d) . "\n";
78+
echo "$k=>" . $d . "\n";
7979
}
8080

8181
?>

0 commit comments

Comments
 (0)