title: how to add php tags with the dom parser
body: <p>I create some HTML Templates with php doms functionality,
  now i like to add some php tags into my template
  i.e.</p>
  
  <pre><code>$input = $this-&gt;dom-&gt;createElement('input');
  $input-&gt;setAttribute("type", "text");
  $input-&gt;setAttribute("name", $name);
  $input-&gt;setAttribute("class", "input");
  $input-&gt;setAttribute("id", $name);
  $input-&gt;setAttribute("value", '&lt;?=$foo-&gt;bar; ?&gt;');
  </code></pre>
  
  <p>my problem is, that the dom parser escape the php line.. </p>
  
  <pre><code>&lt;input type="text" name="id" class="input" id="id" value="\&amp;lt;?=$content-&amp;gt;id;?&amp;gt;" /&gt;
  </code></pre>
  
  <p>is there another way to do this ?</p>