title: What good is new line character?
body: <p>I don't really get it: what's the purpose of a new line character?</p>
  
  <p>If I do this:</p>
  
  <pre><code>&lt;?php
  echo "This is a test. \n";
  echo "This is another test.";
  ?&gt; 
  </code></pre>
  
  <p>Code results in both sentences being in the same line. Why doesn't the \n causes the second sentence being in second line?</p>
  
  <p>The sentences are each in it's own line, if I do:</p>
  
  <pre><code>&lt;?php
  echo "This is a test. &lt;br&gt;";
  echo "This is another test.";
  ?&gt;
  </code></pre>
  
  <p>But I have also seen people do this:</p>
  
  <pre><code>&lt;?php
  echo "This is a test. &lt;br&gt;\n";
  echo "This is another test.";
  ?&gt; 
  </code></pre>
  
  <p>Which essentially results in the same output as the second code snippet. Someone care to explain this?</p>