Searched refs:newInstance (Results 1 – 25 of 55) sorted by relevance
123
2 ReflectionClass::newInstance[Args]19 echo "====>newInstance()\n";96 ====>newInstance()99 ====>newInstance(25)101 ====>newInstance(25, 42)105 ====>newInstance()111 ====>newInstance(25)119 ====>newInstance(25, 42)131 ====>newInstance()133 ====>newInstance(25)[all …]
2 ReflectionAttribute::newInstance(): #[\Deprecated]23 var_dump($reflection->getAttributes()[0]->newInstance());26 var_dump($reflection->getAttributes()[0]->newInstance());29 var_dump($reflection->getAttributes()[0]->newInstance());32 var_dump($reflection->getAttributes()[0]->newInstance());
2 ReflectionClass::newInstance()36 var_dump($rcB->newInstance());41 var_dump($rcB->newInstance('x', 123));47 $rcC->newInstance();54 $rcD->newInstance();60 $e1 = $rcE->newInstance();64 $e2 = $rcE->newInstance('x');
2 Exception handling in ReflectionAttribute::newInstance()21 var_dump($attribute->newInstance());27 #1 %sReflectionAttribute_newInstance_exception.php(18): ReflectionAttribute->newInstance()
18 $obj1 = $ra->newInstance();23 $obj2 = $ra->newInstance();35 $obj = $ra->newInstance();
2 Bug #81208: Segmentation fault while create newInstance from attribute20 $attribute->newInstance();
13 $generator = $reflection->newInstance();21 #0 %s(%d): ReflectionClass->newInstance()
2 Bug #42976 (Crash when constructor for newInstance() or newInstanceArgs() fails)18 $rc->newInstance($x); // causes crash
22 $ca = $ra->newInstance();23 $cc = $rc->newInstance();24 $cd = $rd->newInstance();25 $ce = $re->newInstance();
9 var_dump($reflectionConstant->getAttributes()[0]->newInstance());10 var_dump($reflectionConstant->getAttributes()[1]->newInstance());13 var_dump($reflectionProperty->getAttributes()[0]->newInstance());14 var_dump($reflectionProperty->getAttributes()[1]->newInstance());17 var_dump($reflectionMethod->getAttributes()[0]->newInstance());
11 var_dump($attribute->newInstance());16 var_dump($attribute->newInstance());21 var_dump($attribute->newInstance());26 var_dump($attribute->newInstance());31 var_dump($attribute->newInstance());43 var_dump($attribute->newInstance());58 var_dump($attribute->newInstance());63 var_dump($attribute->newInstance());80 var_dump($attribute->newInstance());85 var_dump($attribute->newInstance());
24 call_user_func([$r->getAttributes(A::class)[0], 'newInstance']);35 <!-- init ReflectionAttribute::newInstance() -->36 <ReflectionAttribute::newInstance>40 </ReflectionAttribute::newInstance>
28 call_user_func([$r->getAttributes(A::class)[0], 'newInstance']);39 <!-- init ReflectionAttribute::newInstance() -->40 <ReflectionAttribute::newInstance>52 </ReflectionAttribute::newInstance>
11 var_dump($reflection->getAttributes()[0]->newInstance());17 var_dump($reflection->getAttributes()[0]->newInstance());
43 …ctionFunction($globalClosure))->getAttributes(FunctionAttribute::class)[0]->newInstance()->number);44 …unction($globalStaticClosure))->getAttributes(FunctionAttribute::class)[0]->newInstance()->number);45 …reDefinedInScopeStatically()))->getAttributes(FunctionAttribute::class)[0]->newInstance()->number);46 …reDefinedInScopeStatically()))->getAttributes(FunctionAttribute::class)[0]->newInstance()->number);50 …->getClosureDefinedInScope()))->getAttributes(FunctionAttribute::class)[0]->newInstance()->number);51 …taticClosureDefinedInScope()))->getAttributes(FunctionAttribute::class)[0]->newInstance()->number);
22 $obj = $attr->newInstance();32 $ref->getAttributes()[0]->newInstance();42 $ref->getAttributes()[0]->newInstance();52 $ref->getAttributes()[0]->newInstance();68 $ref->getAttributes()[0]->newInstance();80 $ref->getAttributes()[0]->newInstance();
18 (new ReflectionClass(Test::class))->getAttributes()[0]->newInstance();23 #1 %s(%d): ReflectionAttribute->newInstance()51 string(11) "newInstance"90 string(11) "newInstance"
16 var_dump((new ReflectionClass(TestWeak::class))->getAttributes()[0]->newInstance());17 var_dump((new ReflectionClass(TestStrict::class))->getAttributes()[0]->newInstance());29 #1 %s(%d): ReflectionAttribute->newInstance()
12 var_dump(get_class($attr->newInstance()));21 $attr->newInstance();33 $attr->newInstance();46 var_dump(get_class($attr->newInstance()));
9 $x = $instance->newInstance();24 $x = $instance->newInstance();41 #0 %spdo_036.php(%d): ReflectionClass->newInstance()
9 $rc->newInstance();14 #0 %s(%d): ReflectionClass->newInstance()
13 (new ReflectionFunction('test'))->getAttributes()[0]->newInstance();19 #0 %s(%d): ReflectionAttribute->newInstance()
14 (new ReflectionFunction('test'))->getAttributes()[0]->newInstance();20 #0 %s(%d): ReflectionAttribute->newInstance()
24 var_dump($attr->newInstance());28 var_dump($attr->newInstance());
22 var_dump($getAttr->newInstance());27 var_dump($setAttr->newInstance());
Completed in 19 milliseconds