ReflectionClass::newInstance 从指定的参数创建新类实例 &reftitle.description; public objectReflectionClass::newInstance mixedargs 创建类的新的实例。给出的参数将会传递到类的构造函数。 &reftitle.parameters; args 接受可变数目的参数,用于传递到类的构造函数,和 call_user_func 很相似。 &reftitle.returnvalues; &reftitle.errors; 如果类的构造函数不是 public 的将会导致一个 ReflectionException args 指定了一个或多个参数,而类不具有构造函数时,将导致一个 ReflectionException &reftitle.seealso; ReflectionClass::newInstanceArgs ReflectionClass::newInstanceWithoutConstructor