Lines Matching refs:new
23 [new Cls, null],
24 [new Cls, 'Cls'],
27 [new stdClass, null],
32 [new Cls, null],
33 [new Cls, 'Cls'],
36 [new stdClass, null],
41 [new Cls, null],
42 [new Cls, 'Cls'],
48 [[new Cls, 'method'], [
50 [new Cls, 'Cls'],
51 [new ClsChild, 'Cls'],
52 [new ClsUnrelated, 'Cls'],
53 [new Cls, null],
54 [new Cls, 'ClsUnrelated'],
55 [new Cls, 'ClsChild'],
58 [[new DLL, 'count'], [
59 [new DLL, DLL::class],
60 [new SplStack, DLL::class],
61 [new ClsUnrelated, DLL::class],
64 [new DLL, null],
65 [new DLL, ClsUnrelated::class],
70 [new Cls, null],
71 [new Cls, 'Cls'],
74 [new stdClass, null],
84 $r = new ReflectionMethod($fn[0], $fn[1]);
86 $fnStr = is_object($fn[0]) ? "(new " . get_class($fn[0]) . ")->$fn[1]" : "$fn[0]::$fn[1]";
88 $c = (new ReflectionFunction($fn))->getClosure();
98 $objStr = $obj ? "new " . get_class($obj) : "null";
117 bindTo(new Cls, null):
120 bindTo(new Cls, Cls::class):
129 bindTo(new stdClass, null):
138 bindTo(new Cls, null):
141 bindTo(new Cls, Cls::class):
150 bindTo(new stdClass, null):
159 bindTo(new Cls, null):
162 bindTo(new Cls, Cls::class):
174 (new Cls)->method()
180 bindTo(new Cls, Cls::class):
183 bindTo(new ClsChild, Cls::class):
186 bindTo(new ClsUnrelated, Cls::class):
189 bindTo(new Cls, null):
192 bindTo(new Cls, ClsUnrelated::class):
195 bindTo(new Cls, ClsChild::class):
198 (new SplDoublyLinkedList)->count()
201 bindTo(new SplDoublyLinkedList, SplDoublyLinkedList::class):
204 bindTo(new SplStack, SplDoublyLinkedList::class):
207 bindTo(new ClsUnrelated, SplDoublyLinkedList::class):
216 bindTo(new SplDoublyLinkedList, null):
219 bindTo(new SplDoublyLinkedList, ClsUnrelated::class):
228 bindTo(new Cls, null):
231 bindTo(new Cls, Cls::class):
240 bindTo(new stdClass, null):