Create new class from appended string
<p>Is it possible to do the following in one line? For instance, something like <code>$obj=new "entry_{$type}";</code>  Thanks</p>

<pre><code>$class="entry_{$type}";
$obj=new $class();
</code></pre>
