PhpSpreadsheet Reader Example #02

Simple File Reader using a Specified Reader

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