title: Javascript inside php code not displaying
body: <p>I have inside my php code </p>
  
  <pre><code>var_dump($var);
  
  $var ='
  &lt;script type="text/javascript"&gt;
      '.$var.'
  &lt;/script&gt;'
  ;
  
  var_dump($var);
  </code></pre>
  
  <p>The first <code>var_dump</code> displays correctly some value, but the second displays an empty string. </p>
  
  <p><a href="http://codepad.viper-7.com/IdpgMo" rel="nofollow">Exemplary output</a>:</p>
  
  <blockquote>
    <p><strong>Notice:</strong> Undefined variable: var in <strong>/code/IdpgMo</strong> on line <strong>3</strong><br>
    NULL<br>
    <strong>Notice:</strong> Undefined variable: var in <strong>/code/IdpgMo</strong> on line <strong>7</strong><br>
    string(50) " " PHP Notice: Undefined variable: var in /code/IdpgMo on line 3 PHP Notice: Undefined variable: var in /code/IdpgMo on line <strong>7</strong></p>
  </blockquote>
  
  <p>Why is it so?</p>