We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee3d107 commit 10fd080Copy full SHA for 10fd080
Zend/tests/pipe_operator/ast.phpt
@@ -2,33 +2,6 @@
2
A pipe operator displays as a pipe operator when outputting syntax, with correct parens.
3
--FILE--
4
<?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
21
- assert((5 |> _test(...)) == 99);
22
23
24
25
26
27
- assert(5 |> abool(...));
28
29
30
31
-*/
32
33
print "Concat, which binds higher\n";
34
0 commit comments