My csv file looks like this:
"Col1";"Col2";"Col3";Col4;Col5;
2869;"=""510015171""";"=""7393077918""";Test;"Name";
After executing this code:
$reader = Reader::createFromPath('/file.csv');
$reader->setDelimiter(';');
$records = $reader->getRecords();
foreach ($records as $record) {
dump($record['Col1']);
}
I am getting the following error:
WARNING [php] Notice: Undefined index: Col1
The format of CSV file is correct because it opens in libre office correctly.