<?php class X{ public $a = 12; function __construct(){print "xx\n";} } $reflection = new ReflectionClass("X"); $x = $reflection->newInstanceWithoutConstructor(); var_dump($x);
You have javascript disabled. You will not be able to edit any code.