Lines Matching refs:a
6 echo "\n" . '$a' . "\n";
7 $b = $a = array('original');
8 foreach($a as $k=>&$v) {
12 unset($a, $b);
14 echo "\n" . '${\'a\'}' . "\n";
15 $b = $a = array('original');
16 foreach(${'a'} as $k=>&$v) {
20 unset($a, $b);
22 echo "\n" . '$$a' . "\n";
23 $a = 'blah';
24 $$a = array('original');
25 $b = $$a;
26 foreach($$a as $k=>&$v) {
30 unset($a, $b);
32 echo "\n" . '$a[0]' . "\n";
33 $b = $a[0] = array('original');
34 foreach($a[0] as $k=>&$v) {
38 unset($a, $b);
40 echo "\n" . '$a[0][0]' . "\n";
41 $b = $a[0][0] = array('original');
42 foreach($a[0][0] as $k=>&$v) {
46 unset($a, $b);
48 echo "\n" . '$a->b' . "\n";
49 $a = new stdClass;
50 $b = $a->b = array('original');
51 foreach($a->b as $k=>&$v) {
55 unset($a, $b);
57 echo "\n" . '$a->b->c' . "\n";
58 $a = new stdClass;
59 $a->b = new stdClass;
60 $b = $a->b->c = array('original');
61 foreach($a->b as $k=>&$v) {
65 unset($a, $b);
67 echo "\n" . '$a->b[0]' . "\n";
68 $a = new stdClass;
69 $b = $a->b[0] = array('original');
70 foreach($a->b[0] as $k=>&$v) {
74 unset($a, $b);
76 echo "\n" . '$a->b[0][0]' . "\n";
77 $a = new stdClass;
78 $b = $a->b[0][0] = array('original');
79 foreach($a->b[0][0] as $k=>&$v) {
83 unset($a, $b);
85 echo "\n" . '$a->b[0]->c' . "\n";
86 $a = new stdClass;
87 $a->b[0] = new stdClass;
88 $b = $a->b[0]->c = array('original');
89 foreach($a->b[0]->c as $k=>&$v) {
93 unset($a, $b);
96 public static $a;
99 echo "\n" . 'C::$a' . "\n";
100 C::$a = array('original');
101 $b = C::$a;
102 foreach(C::$a as $k=>&$v) {
106 unset($a, $b);
108 echo "\n" . 'C::$a[0]' . "\n";
109 C::$a[0] = array('original');
110 $b = C::$a[0];
111 foreach(C::$a[0] as $k=>&$v) {
115 unset(C::$a[0], $b);
117 echo "\n" . 'C::$a[0]->b' . "\n";
118 C::$a[0] = new stdClass;
119 C::$a[0]->b = array('original');
120 $b = C::$a[0]->b;
121 foreach(C::$a[0]->b as $k=>&$v) {
125 unset(C::$a[0]->b, $b);
128 $a
134 ${'a'}
140 $$a
146 $a[0]
152 $a[0][0]
158 $a->b
164 $a->b->c
170 $a->b[0]
176 $a->b[0][0]
182 $a->b[0]->c
188 C::$a
194 C::$a[0]
200 C::$a[0]->b