1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 16:08:35 +02:00
Files
archived-php-src/ext/opcache/tests/jit/reg_alloc_016.phpt
T
Dmitry Stogov e70d282077 JIT: Fix missing type stote
Fixes oss-fuzz #49402
2022-07-25 15:24:26 +03:00

29 lines
416 B
PHP

--TEST--
Register Alloction 016: Missing type store
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=1M
--FILE--
<?php
function foo() {
for($cnt = 0; $cnt < 6; $cnt++) {
var_dump($x);
$a - 536 >> 4 - $y - 4 << ++$x == $a ?: $b;
$a .= !$a;
$x = $a ? $b : $b;
}
}
@foo();
?>
DONE
--EXPECTF--
NULL
NULL
NULL
NULL
NULL
NULL
DONE