title: How to get pretty HTML source code from PHP generated output?
body: <p>When you look at the source code of PHP generated output usually everything is on one line, it makes it very hard for front end developers to read the code and trouble shoot.</p>
  
  <p>So is there a way to get PHP generated output to go from this:</p>
  
  <pre><code>&lt;ul&gt;&lt;li&gt;Hello&lt;/li&gt;&lt;li&gt;Hola&lt;/li&gt;&lt;li&gt;Bonjour&lt;/li&gt;&lt;/ul&gt;
  </code></pre>
  
  <p>to</p>
  
  <pre><code>&lt;ul&gt;
      &lt;li&gt;Hello&lt;/li&gt;
      &lt;li&gt;Hola&lt;/li&gt;
      &lt;li&gt;Bonjour&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>WITHOUT using <code>/n</code> line breaks all over the server side code which just makes that messy.</p>