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 $b = $a->b = array('original');
50 foreach($a->b as $k=>&$v) {
54 unset($a, $b);
56 echo "\n" . '$a->b->c' . "\n";
57 $b = $a->b->c = array('original');
58 foreach($a->b as $k=>&$v) {
62 unset($a, $b);
64 echo "\n" . '$a->b[0]' . "\n";
65 $b = $a->b[0] = array('original');
66 foreach($a->b[0] as $k=>&$v) {
70 unset($a, $b);
72 echo "\n" . '$a->b[0][0]' . "\n";
73 $b = $a->b[0][0] = array('original');
74 foreach($a->b[0][0] as $k=>&$v) {
78 unset($a, $b);
80 echo "\n" . '$a->b[0]->c' . "\n";
81 $b = $a->b[0]->c = array('original');
82 foreach($a->b[0]->c as $k=>&$v) {
86 unset($a, $b);
89 public static $a;
92 echo "\n" . 'C::$a' . "\n";
93 C::$a = array('original');
94 $b = C::$a;
95 foreach(C::$a as $k=>&$v) {
99 unset($a, $b);
101 echo "\n" . 'C::$a[0]' . "\n";
102 C::$a[0] = array('original');
103 $b = C::$a[0];
104 foreach(C::$a[0] as $k=>&$v) {
108 unset(C::$a[0], $b);
110 echo "\n" . 'C::$a[0]->b' . "\n";
111 C::$a[0]->b = array('original');
112 $b = C::$a[0]->b;
113 foreach(C::$a[0]->b as $k=>&$v) {
117 unset(C::$a[0]->b, $b);
120 $a
126 ${'a'}
132 $$a
138 $a[0]
144 $a[0][0]
150 $a->b
158 $a->b->c
168 $a->b[0]
176 $a->b[0][0]
184 $a->b[0]->c
194 C::$a
200 C::$a[0]
206 C::$a[0]->b