Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<ReflectionClass::newInstanceArgsReflectionClass::newLazyGhost>
^ReflectionClassLast updated: Mon, 26 Oct 2026

ReflectionClass::newInstanceWithoutConstructor

(PHP 5 >= 5.4.0, PHP 7, PHP 8)

ReflectionClass::newInstanceWithoutConstructor — Creates a new class instance without invoking the constructor

Description

public function ReflectionClass::newInstanceWithoutConstructor(): object

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. This exception is limited only to internal classes that are final.

See Also


<ReflectionClass::newInstanceArgsReflectionClass::newLazyGhost>
^ReflectionClassLast updated: Mon, 26 Oct 2026