Lines Matching refs:class
7 class Foo
15 $class = new ReflectionClass('Foo');
16 var_dump($class->newInstanceWithoutConstructor());
18 $class = new ReflectionClass('StdClass');
19 var_dump($class->newInstanceWithoutConstructor());
21 $class = new ReflectionClass('DateTime');
22 var_dump($class->newInstanceWithoutConstructor());
24 $class = new ReflectionClass('Generator');
26 var_dump($class->newInstanceWithoutConstructor());
31 final class Bar extends ArrayObject {
34 $class = new ReflectionClass('Bar');
35 var_dump($class->newInstanceWithoutConstructor());
45 Class Generator is an internal class marked as final that cannot be instantiated without invoking i…