xref: /PHP-8.2/ext/opcache/tests/jit/assign_044.phpt (revision e59d0a71)
1--TEST--
2JIT ASSIGN: DASM_S_RANGE_VREG error
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.jit_buffer_size=1M
8opcache.protect_memory=1
9--FILE--
10<?php
11function test($x) {
12    if ($x) {
13        unknown($value);
14    }
15    var_dump($value = INF);
16}
17test(false);
18?>
19--EXPECT--
20float(INF)
21
22