File size: 489 Bytes
1e94262 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | --TEST--
JIT ADD: 014 incorrect guard elimination
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
--FILE--
<?php
function test() {
$s = null;
$i = $a + $a = $j = 2;
for ($a = 0; $i < 20; $a = !$a + $s .= 0xfff0001/34028236692903846346336*6) {
$a = !$a + $a &= 74444444 - 444 >> 4 - $j++;
if ($j > 14) break;
}
}
try {
@test();
} catch (Throwable $e) {
echo $e->getMessage() . "\n";
}
?>
--EXPECT--
Bit shift by negative number
|