PhpSpreadsheet Reader Example #01

Simple File Reader using IOFactory::load()

'; $spreadsheet = IOFactory::load($inputFileName); echo '
'; $sheetData = $spreadsheet->getActiveSheet()->toArray(null, true, true, true); var_dump($sheetData); ?>