Lines Matching refs:isInitialized
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));
41 var_dump($rp->isInitialized($a));
43 var_dump($rp->isInitialized($a));
47 var_dump($rp->isInitialized($a));
48 var_dump($rp->isInitialized($a));
52 var_dump($rp->isInitialized($a));
55 var_dump($rp->isInitialized(new stdClass));
61 var_dump($rp->isInitialized());
85 var_dump($rp->isInitialized($obj));
87 var_dump($rp->isInitialized($obj));
112 ReflectionProperty::isInitialized(): Argument #1 ($object) must be provided for instance properties