Lines Matching refs:x
12 $x = isset($a) && !empty($b) || eval($c);
13 $x = $a ? $b : $c;
14 $x = $a ?: $c;
15 $x = $a ?? $b;
16 list($a, $b, $c) = [1, 2=>'x', 'z'=>'c'];
18 $y = clone $x;
20 yield from $x;
47 $x = foo($a + 1, 4, ...[1,2,3]);
48 $x = ${$a . "_1"}();
49 $x = A::foo();
50 $x = ${$a . "_1"}::foo();
51 $x = A::${$a . "_1"}();
52 $x = $x->foo();
53 $x = ${$a . "_1"}->foo();
54 $x = $x->{$a . "_1"}();
55 $x->a = C::C;
57 $x->{a . "_1"} = C::C;
58 $x = C::$z;
59 $x = ${$a . "_1"}::$z;
60 $x = C::${$z . "_1"};
61 $x?->y;
62 $x?->y();
63 foo(bar: $x);
71 if (!$x) {
74 if ($x == 1) {
76 } else if ($x == 2) {
78 } else if ($x == 3) {
81 if ($x == 9) {
86 switch ($x) {
106 ops as protected x;
127 $x = '\'"`$a';
128 $x = "'\"`$a";
129 $x = `'"\`$a`;
130 $x = "{$a}b";
131 $x = "${a}b";
132 $x = " {$foo->bar} ${$foo->bar} ";
133 $x = " ${'---'} ";
137 $x = foo;
138 $x = \foo;
139 $x = namespace\foo;
140 $x = new foo();
141 $x = new \foo();
142 $x = new namespace\foo();
157 $x = isset($a) && !empty($b) || eval($c);
158 $x = $a ? $b : $c;
159 $x = $a ?: $c;
160 $x = $a ?? $b;
161 [$a, $b, $c] = [1, 2 => 'x', 'z' => 'c'];
163 $y = clone $x;
165 yield from $x;
190 $x = foo($a + 1, 4, ...[1, 2, 3]);
191 $x = ${$a . '_1'}();
192 $x = A::foo();
193 $x = ${$a . '_1'}::foo();
194 $x = A::${$a . '_1'}();
195 $x = $x->foo();
196 $x = ${$a . '_1'}->foo();
197 $x = $x->{$a . '_1'}();
198 $x->a = C::C;
200 $x->{a . '_1'} = C::C;
201 $x = C::$z;
202 $x = ${$a . '_1'}::$z;
203 $x = C::${$z . '_1'};
204 $x?->y;
205 $x?->y();
206 foo(bar: $x);
216 if (!$x) {
219 if ($x == 1) {
221 } else if ($x == 2) {
223 } else if ($x == 3) {
226 if ($x == 9) {
231 switch ($x) {
259 ops as protected x;
283 $x = '\'"`$a';
284 $x = "'\"`$a";
285 $x = `'"\`$a`;
286 $x = "{$a}b";
287 $x = "{$a}b";
288 $x = " {$foo->bar} {${$foo->bar}} ";
289 $x = " ${---} ";
293 $x = foo;
294 $x = \foo;
295 $x = namespace\foo;
296 $x = new foo();
297 $x = new \foo();
298 $x = new namespace\foo();