1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 08:58:28 +02:00
Files
archived-php-src/ext/opcache/tests/jit/reg_alloc_016.phpt
Daniil Gentili 2ca142ecd8 Improve jit tests
Closes GH-12425
2023-11-14 20:09:27 +01:00

29 lines
417 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=64M
--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