ReflectionClass
PHP Manual

ReflectionClass::newInstanceWithoutConstructor

(PHP >= 5.4.0)

ReflectionClass::newInstanceWithoutConstructorCreates a new class instance without invoking the constructor.

Descrierea

public object ReflectionClass::newInstanceWithoutConstructor ( void )

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

Parametri

Valorile întoarse

Erori/Excepții

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

Vedeți de asemenea


ReflectionClass
PHP Manual