title: PHPSpreadsheet doesn't work with PHP version 7.3.26
body: <p>I have tested this on 7.2 and it's working. When I move this code to 7.3 it's not working. I installed PHPSpreadsheet without using composer</p>
  <pre><code>&lt;?php
  namespace PhpOffice;
  include &quot;.\PhpOffice\autoload.php&quot;;
  use PhpOffice\PhpSpreadsheet\Spreadsheet;
  use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
  use PhpOffice\PhpSpreadsheet\Style\Border;
  use PhpOffice\PhpSpreadsheet\Style\Color;
  
  $htmlString = &quot;&lt;p&gt;hello&lt;/p&gt;&quot;;
  $fileName = &quot;myExcel&quot;;
  $CntDisposition = &quot;Content-Disposition: attachment;filename=&quot;;
  $CntDisposition = $CntDisposition . $fileName . &quot;.xls&quot;;
  header($CntDisposition);
  header('Cache-Control: max-age=0');
  $reader = new \PhpOffice\PhpSpreadsheet\Reader\Html();
  $spreadsheet = $reader-&gt;loadFromString($htmlString);
  $writer = \PhpOffice\PhpSpreadsheet\IOFactory::createWriter($spreadsheet, 'Xls');
  $writer-&gt;save('php://output');
  ?&gt;
  </code></pre>
  <p>fails with the following error,
  <a href="https://i.stack.imgur.com/sooAG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sooAG.png" alt="enter image description here" /></a></p>
  <p>When I add <code>ini_set('display_errors', 1); error_reporting(E_ALL);</code> befor the namespace it failed with 500. but when I add this below the namespace line the file got downloaded. But with followin stacktrack on the file,</p>
  <pre><code>&lt;br /&gt;
  &lt;b&gt;Warning&lt;/b&gt;:  include(.\PhpOffice\autoload.php): failed to open stream: No such file or directory in &lt;b&gt;/home/u527331572/domains/thestory.host/public_html/adminPanel/adminPages/excel.php&lt;/b&gt; on line &lt;b&gt;8&lt;/b&gt;&lt;br /&gt;
  &lt;br /&gt;
  &lt;b&gt;Warning&lt;/b&gt;:  include(): Failed opening '.\PhpOffice\autoload.php' for inclusion (include_path='.:/opt/alt/php73/usr/share/pear') in &lt;b&gt;/home/u527331572/domains/thestory.host/public_html/adminPanel/adminPages/excel.php&lt;/b&gt; on line &lt;b&gt;8&lt;/b&gt;&lt;br /&gt;
  &lt;br /&gt;
  &lt;b&gt;Fatal error&lt;/b&gt;:  Uncaught Error: Class 'PhpOffice\PhpSpreadsheet\Reader\Html' not found in /home/u527331572/domains/thestory.host/public_html/adminPanel/adminPages/excel.php:20
  Stack trace:
  #0 {main}
    thrown in &lt;b&gt;/home/u527331572/domains/thestory.host/public_html/adminPanel/adminPages/excel.php&lt;/b&gt; on line &lt;b&gt;20&lt;/b&gt;&lt;br /&gt;
  </code></pre>
  <p>The mentioned files are available at the mentioned places though</p>