Variable Functions
<p>I'm needing to create variable function names, the code I have:</p>

<pre><code>$list = array('testa','testb','testc');

foreach($list as $type) {

    $type = function() { 
      echo " &lt;p&gt;$type&lt;/p&gt;"; 

    }; 

}
</code></pre>

<p>But I keep getting "Parse error: syntax error, unexpected T_FUNCTION in functions.php on line 69"</p>

<p>I had it working on my local server, but when I uploaded it, I get that error.  Any ideas?</p>
