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

Add test for GH-16355 (fixed by previous commit)

This commit is contained in:
Dmitry Stogov
2024-10-17 17:37:52 +03:00
parent 6896756929
commit c98c198623

View File

@@ -0,0 +1,19 @@
--TEST--
GH-16355 (Assertion failure in ext/opcache/jit/ir/ir_ra.c:1139)
--EXTENSIONS--
opcache
--INI--
opcache.jit=1203
opcache.jit_buffer_size=64M
--FILE--
<?php
function test($in, $cond) {
if ($cond) {
eval('');
}
while (stream_bucket_make_writeable($in)) {}
}
?>
DONE
--EXPECT--
DONE