Having too many php tags
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2437144/opening-closing-tags-performance">Opening/closing tags &amp; performance?</a>  </p>
</blockquote>



<p>I am a big performance guy, and I like to have my code run as efficiently as possible. I don't know if any of you know about liquid templating, and the style of code associate with that but often times they have tags like</p>

<pre><code>{% if | class.method == 'true' %}

    blah text

{% endif %}
</code></pre>

<p>I hate liquid, but I've kind of set up the same thing with php tags on my site.</p>

<pre><code>&lt;?php /*if bob is logged in */ if ($user = 'bob') { ?&gt;

     Stuff to do and write

&lt;?php /*end if user is bob*/ } ?&gt;
</code></pre>

<p>I kind of like the design, the html is really easy to edit but I find that I have a lot of php tags riddles throughout my templates. Is this bad design? I mean readability is fine for me, in fact it's better, but I'm worried about whether I'm making too large of a sacrifice with the website's performance if I add all of these little tags. </p>

<p>Anyone know?</p>
