PHP syntax for variable number of parameters to be passed to function pointer
<p>May I ask is there a PHP way to write a variable number of parameters to a function pointer?</p>

<p>For example (psuedocode)</p>

<pre><code>$args = $request-&gt;get_args(); // get an array of arguments
$request-&gt;$func_pointer(foreach $args write $arg);
</code></pre>

<p>My objective is to allow the API user to write functions with fixed number of parameters.
And later on pass the function name and the args which my API will execute on behalf.</p>

<p>Hope it is clear. Thank you.</p>
