1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 17:08:14 +02:00
Files
archived-php-src/ext/opcache/tests/jit/reg_alloc_020.phpt
Dmitry Stogov c19347a0d3 Fixed incorrect trace type inference
Fixes oss-fuzz #63623
2023-10-27 16:12:18 +03:00

22 lines
322 B
PHP

--TEST--
Register Alloction 020: Incorrect TSSA type inference
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=1M
--FILE--
<?php
function foo() {
for($j=0; $j<6; $j++) {
$y = $a;
$a = 6;
for(;$i;);
}
}
@foo();
?>
DONE
--EXPECTF--
DONE