ReflectionClass::newInstanceWithoutConstructor
Creates a new class instance without invoking the constructor.
Description
public object ReflectionClass::newInstanceWithoutConstructor
( void
)
Errors/Exceptions
A ReflectionException if the class is an internal
class that cannot be instantiated without invoking the constructor. In PHP
5.6.0 onwards, this exception is limited only to internal classes that are
final.
See Also
- ReflectionClass::newInstance
- ReflectionClass::newInstanceArgs