I am in a situations where i need to instantiate a class with arguments from within an instance of another class. Here is the prototype:
//test.php class test {
You could use call_user_func_array() I believe.
or you could leave the arguments list of the constructor, and then inside the constructor use this
$args = func_get_args();