What is the impact of switching in and out of the PHP render engine?
<p>Is there a substantial impact in performance (both in the browser and on the server) by exiting and entering the PHP render engine?  Example:</p>

<pre><code>&lt;p&gt;Lorem ipsum..&lt;/p&gt;

&lt;?php
myPHPfunction();
?&gt;

&lt;p&gt;more html&lt;/p&gt;

&lt;?php
anotherPHPfunction();
?&gt;
</code></pre>

<p>If this is a big impact in terms of performance, how can I bundle all of the PHP up together, especially if the majority of my pages are static HTML?</p>
