Eval() problems in PHP
<pre><code>function funct($matches)
{
$fff = "hello";
$var1 = 'fff';
eval("\$woot = \$$var1;");
echo $woot;
}
</code></pre>

<p>Why won't something like this work? I've been screwing around with it for a while. I want the echo to print "hello", but I am clearly missing something :(</p>

<p>Thanks!</p>
