Bonjour,
je crée cette nouvelle discussion pour avoir un titre plus approprié.

Je lis un fichier CSV, donc la première ligne me fournit le header sauf que le premier caractère du header est encadré par 2 double-quotes. Pourquoi ?

code pour déterminer le header :
Code php : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
 if (isset(self::$handle)) {
            rewind(self::$handle);//pointer au début du fichier
            $header = fgetcsv(self::$handle,1024,",",'"');

début du fichier CSV (édité avec PHPSTORM) :
"SESAID","ALTERNATEIDS","PLATFORM","PLATFORMOWNER","PUBLISHER","APPLICATIONNAME","HFMCODE",etc
var_dump de $header
array(23) {
[0]=>
string(11) ""SESAID""
[1]=>
string(12) "ALTERNATEIDS"
[2]=>
string(8) "PLATFORM"
[3]=>
string(13) "PLATFORMOWNER"
[4]=>
string(9) "PUBLISHER"
[5]=>
string(15) "APPLICATIONNAME"
[6]=>
string(7) "HFMCODE"
etc