Lines Matching refs:obj
27 $obj = new Object;
29 var_dump($obj->a);
32 var_dump(empty($obj[0]));
33 var_dump(empty($obj[1]));
34 var_dump(empty($obj[2]));
35 var_dump(empty($obj['4th']));
36 var_dump(empty($obj['5th']));
37 var_dump(empty($obj[6]));
40 var_dump(isset($obj[0]));
41 var_dump(isset($obj[1]));
42 var_dump(isset($obj[2]));
43 var_dump(isset($obj['4th']));
44 var_dump(isset($obj['5th']));
45 var_dump(isset($obj[6]));
48 var_dump($obj[0]);
49 var_dump($obj[1]);
50 var_dump($obj[2]);
51 var_dump($obj['4th']);
52 var_dump($obj['5th']);
53 var_dump($obj[6]);
57 $obj[1] = 'Changed 1';
58 var_dump($obj[1]);
60 $obj['4th'] = 'Changed 4th';
61 var_dump($obj['4th']);
63 $obj['5th'] = 'Added 5th';
64 var_dump($obj['5th']);
66 $obj[6] = 'Added 6';
67 var_dump($obj[6]);
69 var_dump($obj[0]);
70 var_dump($obj[2]);
72 $x = $obj[6] = 'changed 6';
73 var_dump($obj[6]);
77 var_dump($obj->a);
78 unset($obj[2]);
79 unset($obj['4th']);
80 unset($obj[7]);
81 unset($obj['8th']);
82 var_dump($obj->a);