title: Escape HTML to PHP or Use Echo? Which is better?
body: <p>In terms of performance , what would be better. Using PHP to echo all the HTML output so I can pepper it with the various bits of working code and variables or escape HTML to php periodically throughout the documents.</p>
  
  <p>I know there may be some readability issues but I'm not to worried about that.</p>
  
  <p>Thanks all!</p>
  
  <p>Example 1</p>
  
  <pre><code>echo '&lt;html&gt;',
       '&lt;body&gt;',
       'The content of the ',$container,' element is displayed in your ', $other_container,
       '&lt;/body&gt;',
       '&lt;/html&gt;';
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
  The content of the &lt;?php echo $container; ?&gt; element is displayed in your &lt;?php echo $other_container; ?&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>