PhpSpreadsheet Reader Example #03
Simple File Reader using the IOFactory to Return a Reader
';
$reader = IOFactory::createReader($inputFileType);
$spreadsheet = $reader->load($inputFileName);
echo '
';
$sheetData = $spreadsheet->getActiveSheet()->toArray(null, true, true, true);
var_dump($sheetData);
?>