20_Read_Sylk.php 315 B

12345678910111213
  1. <?php
  2. use PhpOffice\PhpSpreadsheet\IOFactory;
  3. require __DIR__ . '/../Header.php';
  4. $filename = __DIR__ . '/../templates/SylkTest.slk';
  5. $callStartTime = microtime(true);
  6. $spreadsheet = IOFactory::load($filename);
  7. $helper->logRead('Slk', $filename, $callStartTime);
  8. // Save
  9. $helper->write($spreadsheet, __FILE__);