Searched refs:x (Results 1 – 25 of 43) sorted by relevance
12
/PHP-Parser/test/code/prettyPrinter/expr/ |
H A D | arrow_function.test | 6 fn($x = 42) => $x; 7 fn(&$x) => $x; 8 fn&($x) => $x; 9 static fn($x, ...$rest) => $rest; 10 fn(): int => $x; 15 fn($x = 42) => $x; 16 fn(&$x) => $x; 17 fn&($x) => $x; 18 static fn($x, ...$rest) => $rest; 19 fn(): int => $x;
|
H A D | newVariable.test | 5 new (x); 8 new (x[0]); 9 new (x->y); 10 new ((x)::$y); 11 $x instanceof ('a' . 'b'); 12 $x instanceof ($y++); 15 new (x)(); 18 new (x[0])(); 19 new (x->y)(); 20 new ((x)::$y)(); [all …]
|
H A D | uvs.test | 15 (A)::$x; 16 (A)::x(); 29 (A)::$x; 30 (A)::x();
|
H A D | throw.test | 4 test(throw $x); 7 test(throw $x);
|
H A D | yield.test | 22 match ($x) { 47 match ($x) { 74 match ($x) { 100 match ($x) {
|
/PHP-Parser/lib/PhpParser/Internal/ |
H A D | Differ.php | 72 $x = $v[$k + 1]; 74 $x = $v[$k - 1] + 1; 77 $y = $x - $k; 78 while ($x < $n && $y < $m && ($this->isEqual)($old[$x], $new[$y])) { 79 $x++; 83 $v[$k] = $x; 84 if ($x >= $n && $y >= $m) { 102 $k = $x - $y; 115 $x--; 123 while ($x > $prevX) { [all …]
|
/PHP-Parser/test/code/parser/expr/ |
H A D | listReferences.test | 5 list(&$v) = $x; 6 list('k' => &$v) = $x; 7 [&$v] = $x; 8 ['k' => &$v] = $x; 26 name: x 47 name: x 66 name: x 87 name: x
|
H A D | arrow_function.test | 5 fn($x = 42) => $x; 6 static fn(&$x) => $x; 7 fn&($x) => $x; 8 fn($x, ...$rest) => $rest; 9 fn(): int => $x; 60 name: x 71 name: x 90 name: x 99 name: x 127 name: x [all …]
|
H A D | varVarPos.test | 4 $$$x; 12 name: x
|
H A D | exprInList.test | 6 list(($a), ((($b)))) = $x; 8 list(1 + 1) = $x; 34 name: x 61 name: x
|
H A D | throw.test | 4 test(throw $x); 18 name: x
|
H A D | listWithKeys.test | 6 list('a' => list($b => $c), 'd' => $e) = $x; 79 name: x
|
/PHP-Parser/test/code/formatPreservation/ |
H A D | indent.test | 4 $x; 11 $x; 15 $x; 22 @@{"\t"}@@$x; 27 @@{"\t"}@@$x; 35 @@{"\t"}@@$x; 42 $x, 52 $x,
|
H A D | insertionOfNullable.test | 9 $x, 26 $x 50 $x 59 $x 89 $stmts[9]->expr = new Expr\Variable('x'); 105 int $x, 122 $x 135 return $x 146 $x = 42.0 155 $x
|
H A D | listRemoval.test | 32 $stmts[0]->params[] = new Node\Param(new Expr\Variable('x')); 39 $x, 67 { $x; } 76 $x; 85 $x; 91 $x; 94 { $x; } 100 { $x; } 104 $x;
|
H A D | removalViaNull.test | 26 $prop = 'x' 32 x 76 ($x) 86 $x 145 x 178 ($x) 184 $x
|
H A D | modifierChange.test | 37 public T1 $x 42 = 'x', 51 private T1 $x 56 = 'x',
|
H A D | anonClasses.test | 5 ($x) 15 ($x, $y)
|
/PHP-Parser/test/code/prettyPrinter/stmt/ |
H A D | attributes.test | 9 A4(x: 1), 29 $x = #[A10] function() {}; 33 #[A1, A2, A3(0), A4(x: 1)] 55 $x = #[A10] function () {
|
H A D | property_promotion.test | 8 public float $x = 0.0, 18 …public function __construct(public float $x = 0.0, protected array $y = [], private string $z = 'h… 28 public int $x, 41 public int $x,
|
H A D | multiCatch.test | 5 $x; 13 $x;
|
/PHP-Parser/test/code/parser/ |
H A D | formattingAttributes.test | 17 "foo\nbar{$x}"; 19 `foo\nbar{$x}`; 36 foo\nbar{$x}baz 39 foo\nbar{$x}baz 44 list($x) = $y; 45 [$x] = $y; 130 name: x 156 name: x 217 name: x 238 name: x [all …]
|
/PHP-Parser/test/code/parser/stmt/ |
H A D | multiCatch.test | 5 $x; 17 name: x
|
/PHP-Parser/test/code/parser/stmt/class/ |
H A D | shortEchoAsIdentifier.test | 6 x as y?><?= as my_echo; 33 name: x
|
H A D | asymmetric_visibility.test | 139 private(set) private(set) $x; 140 private(set) public(set) $x; 165 name: x 181 name: x
|
Completed in 25 milliseconds
12