xref: /PHP-8.3/ext/opcache/tests/jit/assign_054.phpt (revision 4b884bed)
1--TEST--
2JIT ASSIGN: missing type store
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 foo($a) {
12    $b = $a = $a + $b & $a += $a;
13    $b = $a = $a + $b & $b & $b = $a = $a + $b = $a = $a + $b = $a += $a;
14    $b = !$a = $a + $b & $b & $b = $b = $a = $a + $b & $a += $a;
15	$a + $b & $b & $b = $a = $a + $b = $a = $a + $b = $a += $a;
16}
17
18@foo(39087589046889428661);
19@foo(390875890468877606478);
20@foo(390875890468877606478);
21?>
22DONE
23--EXPECT--
24DONE
25