Lines Matching refs:ReflectionProperty
2 Test ReflectionProperty::isInitialized()
20 var_dump((new ReflectionProperty(A::class, 'ssv'))->isInitialized());
21 var_dump((new ReflectionProperty(A::class, 'ss'))->isInitialized());
22 var_dump((new ReflectionProperty(A::class, 's'))->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));
35 var_dump((new ReflectionProperty($a, 'iv'))->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');
91 $rp = new ReflectionProperty('WithMagic', 'intProp');
117 ReflectionProperty::isInitialized(): Argument #1 ($object) must be provided for instance properties