title: PHP Spreadsheet read CSV
body: <p>I am trying to read a CSV file with PHP Spreadsheet Library.</p>
  
  <p>I successfully got the data but it is breaking wrong the comma delimited into the array.</p>
  
  <pre><code>$reader = new \PhpOffice\PhpSpreadsheet\Reader\Csv();
  
  $spreadsheet = $reader-&gt;load('File.csv');
  $sheetData   = $spreadsheet-&gt;getActiveSheet()-&gt;toArray();
  
  echo '&lt;pre&gt;';
  print_r($sheetData);
  </code></pre>
  
  <p>When I see the output it looks like this:</p>
  
  <pre><code>Array
  (
      [0] =&gt; Array
          (
              [0] =&gt; Id,Record,Book,Description,Date,Action
              [1] =&gt; 
              [2] =&gt; 
          )
  
      [1] =&gt; Array
          (
              [0] =&gt; 1306,5466,84,Item,04-05-2018 06
              [1] =&gt; 26
              [2] =&gt; 28,Auto Show
          )
  )
  </code></pre>
  
  <p><strong>Instead of:</strong> </p>
  
  <pre><code>Array
  (
      [0] =&gt; Array
          (
              [0] =&gt; Id
              [1] =&gt; Record
              [2] =&gt; Book
              [3] =&gt; Description
              [4] =&gt; Date
              [5] =&gt; Action
          )
  
      [1] =&gt; Array
          (
              [0] =&gt; 1306
              [1] =&gt; 5466
              [2] =&gt; 84
              [3] =&gt; Item
              [4] =&gt; 04-05-2018 06:26:28
              [5] =&gt; Auto Show
          )
  )
  </code></pre>
  
  <p>Thank you in advance.</p>