How to pass argument in function?
<p>i have function like this.</p>

<pre><code>function load($name, $arg1, $arg2, $arg3, $arg4){
    $this-&gt;$name = new $name($arg1, $arg2, $arg3, $arg4);
}
</code></pre>

<p>the <code>load()</code> method will load some class and set it as class <code>property</code> and the infinite arguments, depend in the class they assigned.</p>

<p>another example if i only set method <code>$this-&gt;load</code> with 3 argument, the this what will happen in the process</p>

<pre><code>function load($name, $arg1, $arg2){
    $this-&gt;$name = new $name($arg1, $arg2);
}
</code></pre>

<p>it is possible do something like that?</p>
