Skip to content

Commit 36dfe63

Browse files
committed
Add test for GH-15909 (fixed by previous IR update)
1 parent 718cff9 commit 36dfe63

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

ext/opcache/tests/jit/gh15909.phpt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
--TEST--
2+
GH-15909 (Core dumped in Core dumped in ext/opcache/jit/ir/ir_cfg.c)
3+
--EXTENSIONS--
4+
opcache
5+
--INI--
6+
opcache.jit=1001
7+
opcache.jit_buffer_size=64M
8+
--FILE--
9+
<?php
10+
function foo() {
11+
for(;x;)for(;$fusion=1;);
12+
}
13+
?>
14+
DONE
15+
--EXPECT--
16+
DONE

0 commit comments

Comments
 (0)