Skip to content

Commit c98c198

Browse files
committed
Add test for GH-16355 (fixed by previous commit)
1 parent 6896756 commit c98c198

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

ext/opcache/tests/jit/gh16355.phpt

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
--TEST--
2+
GH-16355 (Assertion failure in ext/opcache/jit/ir/ir_ra.c:1139)
3+
--EXTENSIONS--
4+
opcache
5+
--INI--
6+
opcache.jit=1203
7+
opcache.jit_buffer_size=64M
8+
--FILE--
9+
<?php
10+
function test($in, $cond) {
11+
if ($cond) {
12+
eval('');
13+
}
14+
while (stream_bucket_make_writeable($in)) {}
15+
}
16+
?>
17+
DONE
18+
--EXPECT--
19+
DONE

0 commit comments

Comments
 (0)