ReflectionClass::newInstanceWithoutConstructor

Creates a new class instance without invoking the constructor.

Description

public object ReflectionClass::newInstanceWithoutConstructor ( void )

Creates a new instance of the class without invoking the constructor.

Parameters

Return Values

Errors/Exceptions

A ReflectionException if the class is an internal class that cannot be instantiated without invoking the constructor.

See Also

  • ReflectionClass::newInstance
  • ReflectionClass::newInstanceArgs