Lines Matching refs:ReflectionProperty
2 Test ReflectionProperty::isInitialized()
21 var_dump((new ReflectionProperty(A::class, 'ssv'))->isInitialized());
22 var_dump((new ReflectionProperty(A::class, 'ss'))->isInitialized());
23 var_dump((new ReflectionProperty(A::class, 's'))->isInitialized());
27 var_dump((new ReflectionProperty($a, 'iv'))->isInitialized($a));
28 var_dump((new ReflectionProperty($a, 'i'))->isInitialized($a));
29 var_dump((new ReflectionProperty($a, 'n'))->isInitialized($a));
35 var_dump((new ReflectionProperty($a, 'i'))->isInitialized($a));
36 var_dump((new ReflectionProperty($a, 'iv'))->isInitialized($a));
37 var_dump((new ReflectionProperty($a, 'n'))->isInitialized($a));
41 $rp = new ReflectionProperty($a, 'd');
47 $rp = new ReflectionProperty('A', 'p');
52 $rp = new ReflectionProperty('B', 'i');
85 $rp = new ReflectionProperty('WithMagic', 'prop');
87 $rp = new ReflectionProperty('WithMagic', 'intProp');
113 ReflectionProperty::isInitialized(): Argument #1 ($object) must be provided for instance properties