Add test for GH-15909 (fixed by previous IR update)

This commit is contained in:
Dmitry Stogov 2024-09-17 21:24:42 +03:00
parent 718cff9bbb
commit 36dfe634b0
No known key found for this signature in database

View File

@ -0,0 +1,16 @@
--TEST--
GH-15909 (Core dumped in Core dumped in ext/opcache/jit/ir/ir_cfg.c)
--EXTENSIONS--
opcache
--INI--
opcache.jit=1001
opcache.jit_buffer_size=64M
--FILE--
<?php
function foo() {
for(;x;)for(;$fusion=1;);
}
?>
DONE
--EXPECT--
DONE