(PHP 5 >= 5.1.3)
ReflectionClass::newInstanceArgs — Creates a new class instance from given arguments.
$args
] )Creates a new instance of the class, the given arguments are passed to the class constructor.
This function is currently not documented; only its argument list is available.
Returns a new instance of the class.
A ReflectionException if the class constructor is not public.
A ReflectionException if the class does not have a constructor
and the args
parameter contains one or more parameters.