call_user_func with dynamic number of parameters
<p>I've got this right now:</p>

<p><code>call_user_func(array($controller, $action), $params);</code></p>

<p>How can I split apart the <code>$params</code> array so that I can call a method with however many params there are, like <code>controller-&gt;action($params[0], $params[1]);</code> if there's two items, or if there's more than that maybe <code>controller-&gt;action($params[0], $params[1], $params[2]);</code></p>
