Example:
I want to have two different constructors, and I don\'t want to use func_get_arg(), because then it\'s invisible what args are possible.
Is it legal
This is not possible, however to solve the problem of invisible args, you can use the reflection class.
if(count($args) == 0) $obj = new $className; else { $r = new ReflectionClass($className); $obj = $r->newInstanceArgs($args); }