$file = fopen($filePath,"r");
while(!feof($file))
{
$playerData[] = (fgetcsv($file));
}
fclose($file);
$file = fopen($filePath,"r");
while(!feof($file))
{
$playerData[] = (fgetcsv($file));
}
fclose($file);
转载于:https://www.cnblogs.com/jackson0714/p/7791600.html