Skip to content

Commit 7b13753

Browse files
committed
Remove dead code
1 parent d53cade commit 7b13753

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

Zend/tests/pipe_operator/ast.phpt

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,6 @@
22
A pipe operator displays as a pipe operator when outputting syntax, with correct parens.
33
--FILE--
44
<?php
5-
/*
6-
function _test(int $a): int {
7-
return $a + 1;
8-
}
9-
10-
function abool(int $x): bool {
11-
return false;
12-
}
13-
14-
try {
15-
assert((5 |> '_test') == 99);
16-
} catch (AssertionError $e) {
17-
echo $e->getMessage(), PHP_EOL;
18-
}
19-
20-
try {
21-
assert((5 |> _test(...)) == 99);
22-
} catch (AssertionError $e) {
23-
echo $e->getMessage(), PHP_EOL;
24-
}
25-
26-
try {
27-
assert(5 |> abool(...));
28-
} catch (AssertionError $e) {
29-
echo $e->getMessage(), PHP_EOL;
30-
}
31-
*/
325

336
print "Concat, which binds higher\n";
347

0 commit comments

Comments
 (0)