accessing a singleton as a concatenated variable
<p>How can I get something like this to work</p>

<pre><code>$name = 'Config';
$static = $name . '::init()';

$static-&gt;test();
</code></pre>

<p>how can I access the test method from that setup?</p>

<p>I want to piece together a couple of variables to build up a dynamic singleton call.</p>

<p>so <code>$name</code> could be 'Db', 'Array' etc.</p>
