Lines Matching refs:a
7 echo "\n" . '$a' . "\n";
8 $b = $a = array('original');
9 foreach($a as $k=>&$v) {
13 unset($a, $b);
15 echo "\n" . '${\'a\'}' . "\n";
16 $b = $a = array('original');
17 foreach(${'a'} as $k=>&$v) {
21 unset($a, $b);
23 echo "\n" . '$$a' . "\n";
24 $a = 'blah';
25 $$a = array('original');
26 $b = $$a;
27 foreach($$a as $k=>&$v) {
31 unset($a, $b);
33 echo "\n" . '$a[0]' . "\n";
34 $b = $a[0] = array('original');
35 foreach($a[0] as $k=>&$v) {
39 unset($a, $b);
41 echo "\n" . '$a[0][0]' . "\n";
42 $b = $a[0][0] = array('original');
43 foreach($a[0][0] as $k=>&$v) {
47 unset($a, $b);
49 echo "\n" . '$a->b' . "\n";
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 $b = $a->b->c = array('original');
59 foreach($a->b as $k=>&$v) {
63 unset($a, $b);
65 echo "\n" . '$a->b[0]' . "\n";
66 $b = $a->b[0] = array('original');
67 foreach($a->b[0] as $k=>&$v) {
71 unset($a, $b);
73 echo "\n" . '$a->b[0][0]' . "\n";
74 $b = $a->b[0][0] = array('original');
75 foreach($a->b[0][0] as $k=>&$v) {
79 unset($a, $b);
81 echo "\n" . '$a->b[0]->c' . "\n";
82 $b = $a->b[0]->c = array('original');
83 foreach($a->b[0]->c as $k=>&$v) {
87 unset($a, $b);
90 public static $a;
93 echo "\n" . 'C::$a' . "\n";
94 C::$a = array('original');
95 $b = C::$a;
96 foreach(C::$a as $k=>&$v) {
100 unset($a, $b);
102 echo "\n" . 'C::$a[0]' . "\n";
103 C::$a[0] = array('original');
104 $b = C::$a[0];
105 foreach(C::$a[0] as $k=>&$v) {
109 unset(C::$a[0], $b);
111 echo "\n" . 'C::$a[0]->b' . "\n";
112 C::$a[0]->b = array('original');
113 $b = C::$a[0]->b;
114 foreach(C::$a[0]->b as $k=>&$v) {
118 unset(C::$a[0]->b, $b);
122 $a
128 ${'a'}
134 $$a
140 $a[0]
146 $a[0][0]
152 $a->b
160 $a->b->c
168 $a->b[0]
174 $a->b[0][0]
180 $a->b[0]->c
188 C::$a
194 C::$a[0]
200 C::$a[0]->b