title: How to remove skip empty line when I read a file
body: <p>reading the official <a href="http://php.net/manual/en/function.file.php" rel="nofollow">manual</a>, if I want to skip empty line in a txt I just need to call the function file() with FILE_SKIP_EMPTY_LINES; in fact I wrote :</p>
  
  <pre><code>$fileArray=file($uploadDirectory.$tracklistFile_name, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
  </code></pre>
  
  <p>but It also read empty line. So, in a text like this :</p>
  
  <pre><code>// START OF THE DOCUMENT
  aaa
  bbb
  
  ccc
  ddd
  
  // END OF THE DOCUMENT
  </code></pre>
  
  <p>in fact <code>sizeof($fileArray)</code> is 6 : it adds the empty lines between <code>bbb</code> and <code>ccc</code>, and the last one. Why?</p>