open and store csv file to a variable

PHOTO EMBED

Sun Jul 03 2022 11:14:00 GMT+0000 (Coordinated Universal Time)

Saved by @patdevwork

   $csvFile = file('../somefile.csv');
    $data = [];
    foreach ($csvFile as $line) {
        $data[] = str_getcsv($line);
    }
content_copyCOPY