Lines Matching refs:isInitialized
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));
42 var_dump($rp->isInitialized($a));
44 var_dump($rp->isInitialized($a));
48 var_dump($rp->isInitialized($a));
49 var_dump($rp->isInitialized($a));
53 var_dump($rp->isInitialized($a));
56 var_dump($rp->isInitialized(new stdClass));
62 var_dump($rp->isInitialized());
86 var_dump($rp->isInitialized($obj));
88 var_dump($rp->isInitialized($obj));
113 ReflectionProperty::isInitialized(): Argument #1 ($object) must be provided for instance properties