Home
last modified time | relevance | path

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

1234

/PHP-8.1/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 DReflection_getModifierNames_001.phpt10 printModifiers(ReflectionProperty::IS_PRIVATE);
11 printModifiers(ReflectionProperty::IS_PROTECTED | ReflectionProperty::IS_STATIC);
12 printModifiers(ReflectionProperty::IS_PUBLIC | ReflectionProperty::IS_READONLY);
15 printModifiers(ReflectionProperty::IS_PUBLIC | ReflectionProperty::IS_STATIC | ReflectionProperty::…
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 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');
51 $rp = new ReflectionProperty('B', 'i');
84 $rp = new ReflectionProperty('WithMagic', 'prop');
[all …]
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 Dreadonly_properties.phpt11 $rp = new ReflectionProperty(Test::class, 'rw');
13 var_dump(($rp->getModifiers() & ReflectionProperty::IS_READONLY) != 0);
15 $rp = new ReflectionProperty(Test::class, 'ro');
17 var_dump(($rp->getModifiers() & ReflectionProperty::IS_READONLY) != 0);
19 $rp = new ReflectionProperty(Test::class, 'ro');
H A Dgh8444.phpt2 GH-8444 (Fix ReflectionProperty::__toString() of properties containing instantiated enums)
17 echo new \ReflectionProperty('Bar', 'enum'), "\n";
18 echo new \ReflectionProperty('Bar', 'enumInArray'), "\n";
20 echo new \ReflectionProperty(new Bar, 'enum'), "\n";
21 echo new \ReflectionProperty(new Bar, 'enumInArray'), "\n";
H A DReflectionProperty_getValue_error.phpt2 Test ReflectionProperty::getValue() errors.
19 $propInfo = new ReflectionProperty('TestClass', 'pub2');
22 $propInfo = new ReflectionProperty('TestClass', 'stat');
32 $propInfo = new ReflectionProperty('TestClass', 'prot');
36 $propInfo = new ReflectionProperty('TestClass', 'pub2');
55 ReflectionProperty::getValue() expects at most 1 argument, 2 given
65 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 DReflectionClass_getProperty_003.phpt95 object(ReflectionProperty)#%d (2) {
103 object(ReflectionProperty)#%d (2) {
113 object(ReflectionProperty)#%d (2) {
121 object(ReflectionProperty)#%d (2) {
131 object(ReflectionProperty)#%d (2) {
139 object(ReflectionProperty)#%d (2) {
147 object(ReflectionProperty)#%d (2) {
157 object(ReflectionProperty)#%d (2) {
165 object(ReflectionProperty)#%d (2) {
173 object(ReflectionProperty)#%d (2) {
[all …]
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 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 DReflectionProperty_setValue_error.phpt2 Test ReflectionProperty::setValue() error cases.
19 $propInfo = new ReflectionProperty('TestClass', 'pub2');
23 $propInfo = new ReflectionProperty('TestClass', 'prot');
28 $propInfo = new ReflectionProperty('TestClass', 'pub2');
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_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_setAccessible.phpt2 Test that ReflectionProperty::setAccessible() has no effects
15 $protected = new ReflectionProperty($a, 'protected');
16 $protectedStatic = new ReflectionProperty('A', 'protectedStatic');
17 $private = new ReflectionProperty($a, 'private');
18 $privateStatic = new ReflectionProperty('A', 'privateStatic');
57 $protected = new ReflectionProperty($b, 'protected');
58 $protectedStatic = new ReflectionProperty('B', 'protectedStatic');
59 $private = new ReflectionProperty($a, 'private');
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 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_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 DReflectionMethod_getDocComment_property_list.phpt21 $reflection = new ReflectionProperty('\X', 'x');
25 $reflection = new ReflectionProperty('\X', 'y');
29 $reflection = new ReflectionProperty('\X', 'z');
H A Dinternal_static_property.phpt2 ReflectionProperty::get/setValue() on internal static property
8 $rp = new ReflectionProperty('_ZendTestClass', '_StaticProp');
H A Dbug37816.phpt2 Bug #37816 (ReflectionProperty does not throw exception when accessing protected attribute)
13 $r = new ReflectionProperty($o, 'p');
/PHP-8.1/Zend/tests/enum/
H A Dname-property.phpt26 object(ReflectionProperty)#2 (2) {
36 object(ReflectionProperty)#3 (2) {
43 object(ReflectionProperty)#4 (2) {

Completed in 19 milliseconds

1234