title: How to add new line break in content-type : text/plain document generated by php?
body: <p>I want to add a link break in a text file. How do I do that?</p>
  
  <p>My code is as follows.</p>
  
  <pre><code>&lt;?php 
  header('Content-Type: text/plain');
  ?&gt;
  Line 1
  Line 2
  Line 2
  </code></pre>
  
  <p>I have tried following.</p>
  
  <pre><code>1. echo 'Line'."\n\r"
  2. echo nl2br('Line'."\n\r")
  3. echo 'Line' . PHP_EOL
  4. echo 'Line' . "&lt;br/&gt;"
  </code></pre>
  
  <p>Nothing is working.</p>