ReflectionClass::newInstanceWithoutConstructor
(PHP >= 5.4.0)
ReflectionClass::newInstanceWithoutConstructor — Creates a new class instance without invoking the constructor.
Beschreibung
public object ReflectionClass::newInstanceWithoutConstructor
( void
)
Creates a new instance of the class without invoking the constructor.
Parameter-Liste
Rückgabewerte
Fehler/Exceptions
A ReflectionException if the class is an internal class that cannot be instantiated without invoking the constructor.
Siehe auch
- ReflectionClass::newInstance() - Creates a new class instance from given arguments.
- ReflectionClass::newInstanceArgs() - Creates a new class instance from given arguments.
ReflectionClass::newInstanceWithoutConstructor
There are no user contributed notes for this page.