Skip to content

Commit 036cf3c

Browse files
committed
More namespace tests.
1 parent 7b13753 commit 036cf3c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Zend/tests/pipe_operator/namespaced_functions.phpt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,18 @@ Pipe operator handles all callable styles
55

66
namespace Beep {
77
function test(int $x) {
8-
print $x;
8+
echo $x, PHP_EOL;
99
}
1010
}
1111

1212
namespace Bar {
1313
use function \Beep\test;
1414

1515
5 |> test(...);
16+
17+
5 |> \Beep\test(...);
1618
}
1719
?>
1820
--EXPECT--
1921
5
22+
5

0 commit comments

Comments
 (0)