Home
last modified time | relevance | path

Searched refs:ReflectionProperty (Results 1 – 25 of 67) sorted by relevance

123

/PHP-8.0/ext/reflection/tests/
H A DReflectionClass_getProperties_003.phpt44 object(ReflectionProperty)#%d (2) {
51 object(ReflectionProperty)#%d (2) {
58 object(ReflectionProperty)#%d (2) {
65 object(ReflectionProperty)#%d (2) {
74 object(ReflectionProperty)#%d (2) {
81 object(ReflectionProperty)#%d (2) {
88 object(ReflectionProperty)#%d (2) {
95 object(ReflectionProperty)#%d (2) {
104 object(ReflectionProperty)#%d (2) {
111 object(ReflectionProperty)#%d (2) {
[all …]
H A DReflectionProperty_getDefaultValue.phpt2 reflection: ReflectionProperty::getDefaultValue
26 $property = new ReflectionProperty(TestClass::class, 'foo');
29 $property = new ReflectionProperty(TestClass::class, 'bar');
32 $property = new ReflectionProperty(TestClass::class, 'static1');
35 $property = new ReflectionProperty(TestClass::class, 'static2');
38 $property = new ReflectionProperty(TestClass::class, 'val1');
41 $property = new ReflectionProperty(TestClass::class, 'val2');
44 $property = new ReflectionProperty(TestClass::class, 'nullable');
47 $property = new ReflectionProperty(TestClass::class, 'nullable2');
50 $property = new ReflectionProperty(TestClass::class, 'constantAst');
[all …]
H A DReflectionProperty_hasDefaultValue.phpt2 reflection: ReflectionProperty::hasDefaultValue
21 $property = new ReflectionProperty(TestClass::class, 'foo');
24 $property = new ReflectionProperty(TestClass::class, 'bar');
27 $property = new ReflectionProperty(TestClass::class, 'static1');
30 $property = new ReflectionProperty(TestClass::class, 'static2');
33 $property = new ReflectionProperty(TestClass::class, 'val1');
36 $property = new ReflectionProperty(TestClass::class, 'val2');
39 $property = new ReflectionProperty(TestClass::class, 'nullable');
42 $property = new ReflectionProperty(TestClass::class, 'nullable2');
47 $property = new ReflectionProperty($test, 'dynamic');
H A DReflectionProperty_error.phpt2 Test ReflectionProperty class errors.
11 new ReflectionProperty();
16 new ReflectionProperty('C::p');
22 new ReflectionProperty('C', 'p', 'x');
29 Ok - ReflectionProperty::__construct() expects exactly 2 arguments, 0 given
30 Ok - ReflectionProperty::__construct() expects exactly 2 arguments, 1 given
31 Ok - ReflectionProperty::__construct() expects exactly 2 arguments, 3 given
H A DReflectionClass_getProperties_001.phpt42 object(ReflectionProperty)#%d (2) {
49 object(ReflectionProperty)#%d (2) {
59 object(ReflectionProperty)#%d (2) {
66 object(ReflectionProperty)#%d (2) {
76 object(ReflectionProperty)#%d (2) {
83 object(ReflectionProperty)#%d (2) {
93 object(ReflectionProperty)#%d (2) {
100 object(ReflectionProperty)#%d (2) {
110 object(ReflectionProperty)#%d (2) {
117 object(ReflectionProperty)#%d (2) {
H A DReflectionProperty_isInitialized.phpt2 Test ReflectionProperty::isInitialized()
26 var_dump((new ReflectionProperty($a, 'iv'))->isInitialized($a));
27 var_dump((new ReflectionProperty($a, 'i'))->isInitialized($a));
28 var_dump((new ReflectionProperty($a, 'n'))->isInitialized($a));
34 var_dump((new ReflectionProperty($a, 'i'))->isInitialized($a));
36 var_dump((new ReflectionProperty($a, 'n'))->isInitialized($a));
40 $rp = new ReflectionProperty($a, 'd');
46 $rp = new ReflectionProperty('A', 'p');
56 $rp = new ReflectionProperty('B', 'i');
89 $rp = new ReflectionProperty('WithMagic', 'prop');
[all …]
H A DReflectionProperty_getValue_error.phpt2 Test ReflectionProperty::getValue() errors.
19 $propInfo = new ReflectionProperty('TestClass', 'pub2');
22 $propInfo = new ReflectionProperty('TestClass', 'stat');
33 $propInfo = new ReflectionProperty('TestClass', 'prot');
41 $propInfo = new ReflectionProperty('TestClass', 'pub2');
60 ReflectionProperty::getValue() expects at most 1 argument, 2 given
69 ReflectionProperty::getValue(): Argument #1 ($object) must be provided for instance properties
H A Dbug61388.phpt9 print_r($reflObj->getProperties(ReflectionProperty::IS_PUBLIC));
13 print_r($reflObj->getProperties(ReflectionProperty::IS_PUBLIC));
21 [0] => ReflectionProperty Object
27 [1] => ReflectionProperty Object
H A Dbug46064_2.phpt2 Bug #46064.2 (Exception when creating ReflectionProperty object on dynamicly created property)
40 object(ReflectionProperty)#%d (2) {
46 object(ReflectionProperty)#%d (2) {
59 object(ReflectionProperty)#%d (2) {
66 object(ReflectionProperty)#%d (2) {
H A DReflectionClass_getProperty_004.phpt99 object(ReflectionProperty)#%d (2) {
107 object(ReflectionProperty)#%d (2) {
117 object(ReflectionProperty)#%d (2) {
125 object(ReflectionProperty)#%d (2) {
135 object(ReflectionProperty)#%d (2) {
143 object(ReflectionProperty)#%d (2) {
151 object(ReflectionProperty)#%d (2) {
161 object(ReflectionProperty)#%d (2) {
169 object(ReflectionProperty)#%d (2) {
177 object(ReflectionProperty)#%d (2) {
[all …]
H A DReflectionProperty_constructor_error.phpt2 Test ReflectionProperty class constructor errors.
13 new ReflectionProperty("NonExistentClass", "prop");
20 new ReflectionProperty($a, 'TestClass');
28 new ReflectionProperty('TestClass', "nonExistentProperty");
H A DReflectionProperty_setValue_error.phpt2 Test ReflectionProperty::setValue() error cases.
19 $propInfo = new ReflectionProperty('TestClass', 'pub2');
23 $propInfo = new ReflectionProperty('TestClass', 'prot');
31 $propInfo = new ReflectionProperty('TestClass', 'pub2');
H A DReflectionClass_getProperty_003.phpt99 object(ReflectionProperty)#%d (2) {
107 object(ReflectionProperty)#%d (2) {
117 object(ReflectionProperty)#%d (2) {
125 object(ReflectionProperty)#%d (2) {
135 object(ReflectionProperty)#%d (2) {
143 object(ReflectionProperty)#%d (2) {
151 object(ReflectionProperty)#%d (2) {
161 object(ReflectionProperty)#%d (2) {
169 object(ReflectionProperty)#%d (2) {
177 object(ReflectionProperty)#%d (2) {
[all …]
H A Dbug79820.phpt2 Bug #79820: Use after free when type duplicated into ReflectionProperty gets resolved
10 $rp = new ReflectionProperty(Test::class, 'prop');
16 $rp = new ReflectionProperty($test, 'dynProp');
H A DReflectionClass_getProperty_001.phpt63 --> Check for s: object(ReflectionProperty)#%d (2) {
69 --> Check for a: object(ReflectionProperty)#%d (2) {
78 --> Check for s: object(ReflectionProperty)#%d (2) {
84 --> Check for a: object(ReflectionProperty)#%d (2) {
93 --> Check for s: object(ReflectionProperty)#%d (2) {
99 --> Check for a: object(ReflectionProperty)#%d (2) {
108 --> Check for s: object(ReflectionProperty)#%d (2) {
114 --> Check for a: object(ReflectionProperty)#%d (2) {
123 --> Check for s: object(ReflectionProperty)#%d (2) {
129 --> Check for a: object(ReflectionProperty)#%d (2) {
[all …]
H A DReflectionProperty_constructor_variation1.phpt2 ReflectionProperty::__construct(): ensure inherited private props can't be accessed through Reflect…
11 $rp = new ReflectionProperty("D", "p");
22 $rp = new ReflectionProperty("D", "p");
32 $rp = new ReflectionProperty("D", "p");
H A DReflectionProperty_setAccessible.phpt2 Test ReflectionProperty::setAccessible().
15 $protected = new ReflectionProperty($a, 'protected');
16 $protectedStatic = new ReflectionProperty('A', 'protectedStatic');
17 $private = new ReflectionProperty($a, 'private');
18 $privateStatic = new ReflectionProperty('A', 'privateStatic');
74 $protected = new ReflectionProperty($b, 'protected');
75 $protectedStatic = new ReflectionProperty('B', 'protectedStatic');
76 $private = new ReflectionProperty($a, 'private');
H A DReflectionMethod_getDocComment_property_list.phpt21 $reflection = new ReflectionProperty('\X', 'x');
25 $reflection = new ReflectionProperty('\X', 'y');
29 $reflection = new ReflectionProperty('\X', 'z');
H A DReflectionProperty_typed_static.phpt2 ReflectionProperty::getValue() on typed static property
12 $rp = new ReflectionProperty('Test', 'x');
15 $rp = new ReflectionProperty('Test', 'y');
34 $rp = new ReflectionProperty('Test', 'z');
H A DReflectionProperty_getDeclaringClass_variation1.phpt2 Test ReflectionProperty::getDeclaringClass() with inherited properties.
13 $propInfo = new ReflectionProperty('B', 'prop');
H A Dinternal_static_property.phpt2 ReflectionProperty::get/setValue() on internal static property
10 $rp = new ReflectionProperty('_ZendTestClass', '_StaticProp');
H A Dbug30146.phpt2 Reflection Bug #30146 (ReflectionProperty->getValue() requires instance for static property)
9 $r = new ReflectionProperty('test', 'a');
H A DReflectionProperty_getModifiers_basic.phpt2 Test ReflectionProperty::getModifiers() usage.
25 $rp = new ReflectionProperty("C", "a$i");
28 $rp = new ReflectionProperty("D", "a$i");
/PHP-8.0/ext/reflection/
H A Dphp_reflection_arginfo.h608 ZEND_METHOD(ReflectionProperty, __toString);
609 ZEND_METHOD(ReflectionProperty, getName);
610 ZEND_METHOD(ReflectionProperty, getValue);
611 ZEND_METHOD(ReflectionProperty, setValue);
613 ZEND_METHOD(ReflectionProperty, isPublic);
614 ZEND_METHOD(ReflectionProperty, isPrivate);
616 ZEND_METHOD(ReflectionProperty, isStatic);
617 ZEND_METHOD(ReflectionProperty, isDefault);
618 ZEND_METHOD(ReflectionProperty, isPromoted);
623 ZEND_METHOD(ReflectionProperty, getType);
[all …]
/PHP-8.0/tests/classes/
H A Dautoload_015.phpt2 Ensure the ReflectionProperty constructor triggers autoload.
11 new ReflectionProperty('UndefC', 'p');

Completed in 49 milliseconds

123