php-8.0.30-src/ext/opcache/tests/jit/add_013.phpt

20 lines
338 B
PHP

--TEST--
JIT ADD: 013 register allocation (incorrect hinting)
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=1M
--FILE--
<?php
function y(){
$j = 2;
for (; $a = $j - 7 + $y = $a - 7; $a = $a + 1 / 3) {
$j++;
if ($j > 4) break;
}
}
?>
DONE
--EXPECT--
DONE