title: Not getting newlines in output when using PHP_EOL
body: <p>I am putting together a string that I will output to a .srt file:</p>
  
  <pre><code>while ($row = mysql_fetch_array($res)) {
      $srt = $srt . $row['line_number'] . PHP_EOL; 
      $srt = $srt . str_replace(".", ",", $row['start']) . " --&gt; " . str_replace(".", ",", $row['end']) .PHP_EOL ;    
      $srt = $srt . br2nl($row['text']) . PHP_EOL; 
      $srt = $srt . PHP_EOL;  
  }
  </code></pre>
  
  <p>But it seems like <code>PHP_EOL</code> isn't working, because my output is:</p>
  
  <pre><code>100:00:02,107 --&gt; 00:00:05,810you sure
  </code></pre>
  
  <p>and doesn't have any newlines. I am trying to get my output to be:</p>
  
  <pre><code>1
  00:00:02,107 --&gt; 00:00:05,810
  you sure
  </code></pre>
  
  <p>followed by a newline.</p>
  
  <p>It works when testing through localhost on my computer. Could the PHP version on my host be missing support for <code>PHP_EOL</code>?</p>