Lines Matching refs:a
26 $a = new A;
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));
32 unset($a->iv);
33 unset($a->i);
34 unset($a->n);
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));
40 $a->d = null;
41 $rp = new ReflectionProperty($a, 'd');
42 var_dump($rp->isInitialized($a));
43 unset($a->d);
44 var_dump($rp->isInitialized($a));
48 var_dump($rp->isInitialized($a));
49 var_dump($rp->isInitialized($a));
53 var_dump($rp->isInitialized($a));