<?php class Foo { public function __construct() { echo 'bar'; } } $r = new ReflectionClass('Foo'); $o = $r->newInstanceWithoutConstructor(); var_dump($o); $o->__construct();
You have javascript disabled. You will not be able to edit any code.