1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

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

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