title: DOMPDF: Inline PHP script not working
body: <p>I've a problem with DOMPDF. I'm running PHP 5.3.3 and have the newest DOMPDF 0.6.0 beta2.</p>
  
  <p>I've created this HTML template:</p>
  
  <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
  &lt;html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en"&gt;
  &lt;head&gt;
  &lt;meta http-equiv="content-type" content="text/html; charset=UTF-8" /&gt;
  &lt;title&gt;Printed document&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;script type="text/php"&gt;
  echo "test";
  if ( isset($pdf) ) {
      echo $PAGE_NUM;
  }
  &lt;/script&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And this file to render the PDF:</p>
  
  <pre><code>&lt;?php
  require_once("dompdf/dompdf_config.inc.php");
  
  $templateFile = 'template.html';
  $content = file_get_contents($templateFile); 
  if ($content !== false) {
      $dompdf = new DOMPDF();
      $dompdf-&gt;load_html($content);
      $dompdf-&gt;render();
      $dompdf-&gt;stream("test.pdf");
  }
  ?&gt;
  </code></pre>
  
  <p>In the dompdf_config.inc.php I've set DOMPDF_ENABLE_PHP to true, but still either the test-string or the number of pages is displayed in my rendered PDF. Why?</p>
  
  <p>I've compressed my small example here:
  <a href="http://uploads.dennismadsen.com/pdf.zip" rel="nofollow">http://uploads.dennismadsen.com/pdf.zip</a></p>
  
  <p>Please tell me if you need further information.</p>