title: PHP, new variable class in namespace
body: <p>I'm experimenting with PHP 5.3's namespacing functionality and I just can't figure out how to instantiate a new class with namespace prefixing.</p>
  
  <p>This currently works fine:</p>
  
  <pre><code>&lt;?php
  new $className($args);
  ?&gt;
  </code></pre>
  
  <p>But how I can prepend my namespace in front of a variable classname? The following example doesn't work.</p>
  
  <pre><code>&lt;?php
  new My\Namespace\$className($args);
  ?&gt;
  </code></pre>
  
  <p>This example yields: <strong>Parse error: syntax error, unexpected T_VARIABLE</strong></p>