Skip to content

Commit 5032a00

Browse files
committed
Add test I forgot to commit
1 parent 8276f9d commit 5032a00

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
--TEST--
2+
GH-18965: ASSERT_CHECK avoids pipe lhs free
3+
--INI--
4+
zend.assertions=0
5+
--FILE--
6+
<?php
7+
namespace Foo;
8+
range(0, 10) |> assert(...);
9+
echo "No leak\n";
10+
?>
11+
--EXPECT--
12+
No leak

0 commit comments

Comments
 (0)