Home
last modified time | relevance | path

Searched refs:newInstance (Results 1 – 25 of 34) sorted by relevance

12

/PHP-8.0/ext/reflection/tests/
H A D007.phpt2 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 …]
H A DReflectionClass_newInstance_001.phpt2 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');
H A Dbug81208.phpt2 Bug #81208: Segmentation fault while create newInstance from attribute
20 $attribute->newInstance();
H A Dbug64007.phpt13 $generator = $reflection->newInstance();
21 #0 %s(%d): ReflectionClass->newInstance()
H A Dbug42976.phpt2 Bug #42976 (Crash when constructor for newInstance() or newInstanceArgs() fails)
18 $rc->newInstance($x); // causes crash
H A Dbug43926.phpt22 $ca = $ra->newInstance();
23 $cc = $rc->newInstance();
24 $cd = $rd->newInstance();
25 $ce = $re->newInstance();
H A Dbug70982.phpt19 $foo = $rf->newInstance();
H A Dbug77882.phpt23 $obj = $ref->newInstance();
H A Dbug52854.phpt10 var_dump($c->newInstance());
H A D001.phpt48 'UMLClass::newInstance',
/PHP-8.0/Zend/tests/attributes/
H A Dgh8421.phpt43 …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);
H A D005_objects.phpt22 $obj = $attr->newInstance();
32 $ref->getAttributes()[0]->newInstance();
42 $ref->getAttributes()[0]->newInstance();
52 $ref->getAttributes()[0]->newInstance();
68 $ref->getAttributes()[0]->newInstance();
81 $ref->getAttributes()[0]->newInstance();
93 $ref->getAttributes()[0]->newInstance();
H A D031_backtrace.phpt18 (new ReflectionClass(Test::class))->getAttributes()[0]->newInstance();
23 #1 ReflectionAttribute->newInstance() called at [%s:%d]
51 string(11) "newInstance"
88 string(11) "newInstance"
H A D030_strict_types.phpt16 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()
H A D020_userland_attribute_validation.phpt12 var_dump(get_class($attr->newInstance()));
21 $attr->newInstance();
33 $attr->newInstance();
46 var_dump(get_class($attr->newInstance()));
H A D007_self_reflect_attribute.phpt13 $a = $attribute->newInstance();
H A D002_rfcexample.phpt31 var_dump($attributes[0]->newInstance());
/PHP-8.0/ext/pdo/tests/
H A Dpdo_036.phpt9 $x = $instance->newInstance();
13 $x = $instance->newInstance();
25 #0 %spdo_036.php(8): ReflectionClass->newInstance()
/PHP-8.0/Zend/tests/traits/
H A Dbug60173.phpt9 $rc->newInstance();
14 #0 %s(%d): ReflectionClass->newInstance()
/PHP-8.0/Zend/tests/named_params/
H A Dattributes_named_flags.phpt13 (new ReflectionFunction('test'))->getAttributes()[0]->newInstance();
19 #0 %s(%d): ReflectionAttribute->newInstance()
H A Dattributes_named_flags_incorrect.phpt14 (new ReflectionFunction('test'))->getAttributes()[0]->newInstance();
20 #0 %s(%d): ReflectionAttribute->newInstance()
H A Dattributes.phpt24 var_dump($attr->newInstance());
28 var_dump($attr->newInstance());
/PHP-8.0/ext/zend_test/tests/
H A Dobserver_bug81430_1.phpt25 call_user_func([$r->getAttributes(A::class)[0], 'newInstance']);
H A Dobserver_bug81430_2.phpt25 call_user_func([$r->getAttributes(A::class)[0], 'newInstance']);
/PHP-8.0/ext/spl/tests/
H A Ddit_002.phpt18 $obj = $ref->newInstance('glob://*');

Completed in 20 milliseconds

12